http://fbc.walknorth.com

Ok the <div>'s are ordered like this in the html.

=====
<div id="menu_container">
        <div id="menu_left"><p>menu_left</p></div>
        <div id="menu_right"><p>menu_right</p></div>
        <div id="menu_center"><p>menu_center</p></div>
</div>
=====

the css looks like this:


=====
#menu_container {
        position: static;
        float: left;
        width: 30%;
        }
        
#menu_left {
        position: relative;
        float: left;
        width: 50%;
        height:250px;
        background: red;
        z-index: 1;
        }
        
#menu_right {
        position: relative;
        float: right;
        width: 50%;
        height: 250px;
        background: blue;
        z-index: 3;
        }
        
#menu_center {
        position: relative;
        float: left;
        bottom:145px;
        left: 40%;
        width: 15%;
        height: 200px;
        background: black;
        z-index: 2;
        }
=====

my question is...when 'menu_center' appears third in the markup [html] 
it renders correctly. when it renders second [if i put it between 
'menu_left' and 'menu_right'] 'menu_center' then shifts to the upper 
right hand corner of 'menu_container'. I understand why- it's being 
positioned relative to where it would have been had 'menu_right' not 
been there (because 'menu_right' hasn't rendered yet). and consequently 
'menu_right' is then pushed down beneath 'menu_center'.

why does 'menu_right' get pushed down if all three are on different 
z-index's? if 'right' is on a different z-index why is it pushed down? 
shouldn't it render as if on it's own z?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to