- This topic has 0 replies, 1 voice, and was last updated 15 years ago by caenicus.
-
AuthorPosts
-
November 25, 2009 at 4:19 pm #1103caenicusMember
Hey guys,
I’m having a problem with my menu in IE. (Imagine that!) The drop menu is for whatever reason shifting too far to the right in Internet Explorer 6 and 7. It works fine in Firefox, but when you hover over an item in IE, the drop menu is shifted too far to the right.Here’s the URL:
http://www.santaclauschristmasstore.com/cgi/commerce.cgi?display=home%5B/url:33kxsdgf%5DHere’s the CSS:
[code:33kxsdgf]#suckerfishnav {
clear: both;
padding: 0; margin: 0;
width: 964px;
height: 40px;
background: url(/PDGCommTemplates/003/images/nav_bkgd.jpg) no-repeat top center;
font: normal 16px/20px ‘Trebuchet MS’, ‘Helvetica Neue’, Arial, sans-serif;
}
#suckerfishnav, #suckerfishnav ul {
float:left;
list-style:none;
line-height:40px;
padding:0;
margin:0;
width:100%;
}
#suckerfishnav a {
display:block;
color:#fff;
text-decoration:none;
padding:10px 16px;
position:relative !important;
}
#suckerfishnav li {
float:left;
padding:0;
z-index:999 !important;
position:relative !important;
}
#suckerfishnav ul {
position:absolute;
left:-999em;
height:auto;
width:150px;
font-weight:normal;
margin:0;
line-height:1;
border:0;
z-index:999 !important;
}
#suckerfishnav li li {
width:150px;
font-weight:bold;
font-family:verdana,sans-serif;
}
#suckerfishnav li li a {
padding:5px 20px;
width:110px;
font-size:12px;
color:#444 !important;
position:relative !important;
}
#suckerfishnav li ul ul {
margin:-40px 0 0 150px;
}
#suckerfishnav li li:hover {
background:#990000;
}
#suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
color:#fff !important;
}
#suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
color:#e9e164;
}
#suckerfishnav li:hover li a {
color:#cdc7bf;
}
#suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
color: #444 !important;
}
#suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
left:-999em;
}
#suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
left:auto;
background:#dddcd6;
top: 40px;
}
#suckerfishnav li:hover, #suckerfishnav li.sfhover {
background:#990000;
}[/code:33kxsdgf]I imagine this is a pretty simple fix. Any help would be greatly appreciated. Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.