Hi,
Hoping someone can shed some light on the following problem I am having with Safari using a drop down menu based on son of suckerfish.
In Safari I am gaining an extra 10pixels on the right of the drop down menu items when rolling over them. That extra space also stays behind after mouseout. I have tried changing width and padding settings but to no avail.
The problem menu is here.
CSS for the menu follows:
HTML snippet:Code:#nav, #nav ul { line-height: 1; font: 11px Arial, Helvetica, sans-serif; text-transform: uppercase; float: left; width: 750px; background-color: #2461AA; border-bottom: 1px solid #FFFFFF;}/* all lists */ #nav a { display: block; color: #FFFFFF; text-decoration: none; padding: 5px 7px 5px 5px; background-color: #2461AA} #nav a:hover {background-color: #EB7E19;} #nav li { float: left;}/* all list items */ #nav li ul { position: absolute; width: 100px; left: -999em;} /* second-level lists */ #nav li ul li {font-size: 9px} #nav li ul a {width: 100px; border-top: 1px solid #FFFFFF;} #nav li:hover ul, #nav li.sfhover ul {left: auto;} /* lists nested under hovered list items */
Can anyone help?HTML Code:<div id="navcontainer"> <ul id="nav"> <li><a href="#">Company</a> <ul> <li><a href="../company/compview.php">overview</a></li> etc etc...
thanks
Ben





Bookmarks