From: Schalk Neethling <[EMAIL PROTECTED]>

>http://www.jcislord.org/index.php?option=com_content&task=view&id=13&Itemid=13 

>The drop-down over 'SpecialProjects' and 'Donations and Products' are 
>going behind the image. I have tried setting the ul to a z-index of 2000 
>with no luck.

Setting a z-index, no matter how high, without changing an element's position 
to something other than the default "static" (what you get when you don't set a 
different position property value) does nothing.

Additionally, setting z-index on a child element will do nothing to move it up 
in the stacking order if its parent is lower than following content. 

So, choose the correct element, make sure it is positioned something other than 
static, and don't go crazy with the z-index values.

#nav, #nav ul 
{
        background-color:#900;
        padding:0;
        margin:0 0 .5em 0;
        list-style:none;
        width:776px;
        height:28px;
        font-size:11px;
        font-weight:bold;
position: relative;
z-index: 2; /* this is sufficient, but you're welcome to set it higher */
}

~holly 
 
                   
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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