vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to Fix the width of 3 columns Grid (https://vborg.vbsupport.ru/showthread.php?t=265402)

albanah 06-18-2011 09:37 AM

How to Fix the width of 3 columns Grid
 
Hello,

I have modified the following code to get equal sidebar widths.
It is working very well with all browsers, except IE7.

I need help to figure out what is the reason so that I can use this grid.

PHP Code:

<style type="text/css">
#gridl3_container {
    
positionrelative;
    
clearboth;
    
floatleft;
    
width100%;
    }

#gridl3_midshift {
    
floatleft;
    
width200%;
    
positionrelative;
    
left170px;
}

#gridl3_rightshift {
    
floatleft;
    
width100%;
    
positionrelative;
    
left50%;
    
margin-left: -340px;
}

#gridl3_midmask {
    
floatright;
    
width50%;
    
positionrelative;
    
right100%;
}

#gridl3_midcol {
    
margin-left390px;
    
width100%;
    
overflowhidden;
}

#gridl3_leftcol {
    
floatleft;
    
width230px;
    
positionrelative;
    
margin-left: -50%;
    
left171px;
    
}

#gridl3_rightcol {
    
floatleft;
    
width230px;
    
positionrelative;
    
left: -60px;
    
}

#gridl3_content {
    
margin-right80px;
margin-left420px;
}
</
style>

<
div id="gridl3_container">
    <
div id="gridl3_midshift">
        <
div id="gridl3_rightshift">
            <
div id="gridl3_midmask">
                <
div id="gridl3_midcol">
                    <
div id="gridl3_content">
                        <
ul class="list_no_decoration" id="widgetlist_column2">$column[2]</ul>
                    </
div>
                </
div>
            </
div>
            <
div id="gridl3_leftcol">
                <
ul class="list_no_decoration" id="widgetlist_column1">$column[1]</ul>
            </
div>
            <
div id="gridl3_rightcol">
                <
ul class="list_no_decoration" id="widgetlist_column3">$column[3]</ul>
            </
div>
        </
div>
    </
div>
</
div


Lynne 06-18-2011 02:44 PM

What is the problem in IE7? Unfortunately, I cannot help with it since I do not have that browser.

albanah 06-18-2011 07:26 PM

when I test it with IE7, all columns are shifted to left, and only small portion appears.

albanah 06-19-2011 07:10 PM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2209456)
What is the problem in IE7? Unfortunately, I cannot help with it since I do not have that browser.

See the image. The columns are shifted to letf outside the page and are invisible.

Attachment 130201

Lynne 06-19-2011 07:35 PM

I can't fix the issue since I don't have IE. And, I won't be getting IE - I have a Mac.


All times are GMT. The time now is 01:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01059 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete