I'm working on a menu that pulls out from the side of the page. It works fine in FF, however, in IE, it does some sort of weird padding thing when you mouse over one of the links in the menu on the side. So far I have had no luck figuring out where this error is coming from.
If someone else would be able to take a second look at this and give me some suggestions, it would be much appreciated.
To see what it is doing, go here and mouse over the sublinks in the ironworker menu.
The CSS used for the menu is below:
If someone else would be able to take a second look at this and give me some suggestions, it would be much appreciated.
To see what it is doing, go here and mouse over the sublinks in the ironworker menu.
The CSS used for the menu is below:
Code:
/*Side pullout menu*/
#nav {
background:#394A57;
}
#nav, #nav ul {
padding: 0 0 3px 0;
margin: 0;
list-style: none;
float: left;
width: 168px;
}
#nav li {
float: left;
position: relative;
width: 138px;
margin-left:10px;
}
#nav li ul {
display: none;
}
#nav li a {
display:block;
width: 138px;
text-decoration:none;
color:#FFF;
font: normal 10px/12px Arial,sans-serif;
padding: 5px 0 5px 0;
background:#394A57 url(graphics/current_mnu_background.gif);
}
#nav li a:hover {
text-decoration:none;
color:#FF6600;
font: normal 10px/12px Arial,sans-serif;
}
#nav li ul li a {
display:block;
width: 98px;
text-decoration:none;
color:#FF6600;
background:#FF6633 url(graphics/pulloutlistbullet.gif) no-repeat center left;
font: normal 10px/12px Arial,sans-serif;
padding: 3px 0px 3px 20px;
}
#nav li ul li a:hover {
text-decoration:none;
color:#000000;
font: normal 10px/12px Arial,sans-serif;
}
#nav li:hover ul ul, #nav li.sfhover ul ul {
display: none;
}
#nav li:hover ul, #nav li.sfhover ul { /*First level submenu*/
display: block;
position:absolute;
left:128px;
top:0;
}
.link {
background:#394A57;
}
.sublink {
padding:5px 8px 5px 0;
background:#FF6633;
}
/*End side pullout menu*/