CSS : z-index failed to make popup container ?

Posted by justjoe on Stack Overflow See other posts from Stack Overflow or by justjoe
Published on 2010-04-18T01:49:21Z Indexed on 2010/04/18 1:53 UTC
Read the original article Hit count: 551

Filed under:
|
|

i got this css stylesheet code

#nav li ul {
    position: absolute;
    visibility: hidden;
    float: none;
    top: 42px;
    left: 0px;
    width: 150px;
    margin: 0;
    padding: 5px 10px 6px 10px;
    z-index: 10000;
    border: 1px solid #C0ACB2;
    border-bottom-width: 2px;
    border-bottom-color: #AF9DA3;
    border-top: 0;
    background-color: #fff;
    opacity: 0.97;
}

#nav li:hover ul,
#nav li.iehover ul {
    visibility: visible;
}

i want to make every #nav to be hidden and then displayed when cursor hover around it. But the problem is everytime is show, it's overlapped by other div. it's seem z-index is not working to make the #nav li ul becoming the front container.

i'm testing it in firefox and flock.

© Stack Overflow or respective owner

Related posts about css

Related posts about firefox