Posts: 876
Name: Matt Pealing
Location: England, north west
|
I have the following page:
http://bit.ly/9FsY1Q
And have added a jQuery dropdown menu to the main navigation.
It works fine in everything except IE6 and 7 (how shocking), as the dropdown menu displays under the wrong tab.
It's supposed to appear underneath the link that says 'HOW IT WORKS' but in IE it opens under the tab next to it; 'VALUE FOR MONEY'.
I've had this problem in the past and have in fact managed to fix it, but that was a long time ago and I've completely forgotten how to do it!!
Here is the CSS for the menu:
Code:
#nav {
float: left;
width: 912px;
background: url('../image/nav.gif') no-repeat;
margin: 10px 0 20px;
padding-left: 28px;
}
#nav li {
display: inline;
background: url('../image/nav-li.gif') no-repeat 100% center;
float: left;
}
#nav li a {
float: left;
padding: 14px 5px 15px;
color: #FFF;
text-decoration: none;
text-transform: uppercase;
font-size: 12px;
text-align: center;
margin-right: 5px;
}
#nav li ul {
position: absolute;
width: 140px;
background: url('../image/nav-li-ul.png') no-repeat 0 100%;
float: none;
z-index: 1;
margin-top: 40px;
padding: 5px 0;
visibility: hidden;
}
#nav li ul li {
display: inline;
background: none;
float: left;
}
#nav li ul li a {
float: none;
display: block;
font-size: 11px;
width: 130px;
text-align: left;
padding: 5px 5px 5px 10px;
}
#nav .last {
background: none;
}
Thanks to anyone who may be able to help 
|