Jump to content

Problem with Son of Suckerfish Dropdown


ryy705

Recommended Posts

Hello,

 

Please take a look at :http://artduffieldrealty.webmaxsites.com/

The site works fine in IE8 and FF3.5

 

But I am having trouble with the menu in IE7.  I made the mistake of not testing the site in IE7 as I was putting it together.

 

If you hover over a menu item, the drop down does not line up with the parent element in IE7.  Has this happened to anyone before?

(please use IE Tester if you do not have IE7 installed)

 

Son of Suckerfish simply hides the drop down with left: -9999 and brings it back with left:auto;

I know this method works fine in IE7.  Did I screw up some padding or margin somewhere?

 

I have spent substantial amount of time with this.  But I am unable to figure it out.  Please Please help.

 

I am pasting the css file for navigation for your covenience:

#nav {
overflow: hidden;
height: 30px;
background-color: #CA0000;
border-top: 3px solid #000;
border-bottom: 3px solid #000;
}
#nav, #nav ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}

#nav a {
display: block;
width: 10em;
text-decoration: none;
font-size: 11px;
}

#nav li { /* all list items */

font-family: "Verdana Bold";
font-weight: bold;
float: left;
line-height: 30px;
text-align: center;
width: 80px; /* width needed or else Opera goes nuts */
}
#nav li a {
color: #FFF;
margin:0;
padding-left: 0px;
padding-right: 0px;
}
#nav li li a,#nav li li li a{
color: #000;
}
#nav li li a {
border-left: 1px solid #CA0000;
border-right: 1px solid #CA0000;
border-bottom: 1px solid #CA0000;
border-top: 1px solid #CA0000;
padding-left: 3px;
}

#nav li ul { /* second-level lists */
position: absolute;
background: #EFEFEF;
width: 115px;
left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul :hover { 
  background: #FFF;
}

#nav li ul li, #nav li ul li ul li{ /* second & third -level lists */
line-height: 15px;
text-align: left;
}
#nav li ul ul { /* third-and-above-level lists */
margin: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
left: auto;
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.