Now my old digs, y0.
<style type="text/css">
#nav {
margin: 0; /* all lists */
padding: 0;
float: left;
}
#nav ul {
margin: 0; /* all lists */
padding: 0;
}
#nav li {
margin: 0; /* all list items */
padding: 0;
float: left;
display: block;
background: none;
cursor: pointer;
position: relative;
}
#nav li ul {
width: 16.4em;
position: absolute; /* second-level lists */
height: auto;
w\idth: 15.9em;
}
#nav li ul ul {
margin: -1.5em 0 0 14em; /* third-and-above-level lists */
}
#nav li li {
padding: 0 1em 0 0;
margin: 0;
width: 14.9em;
}
#nav ul a {
width: 14.8em;
w\idth: 10.8em;
}
#nav li ul {
left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li:hover ul ul, #nav li:hover ul ul ul,
#nav li.sfhover ul ul, #nav li.havechildsfhover ul ul, #nav li.havechild-activesfhover ul ul, #nav li.activesfhover ul ul,
#nav li.sfhover ul ul ul, #nav li.havechildsfhover ul ul ul, #nav li.havechild-activesfhover ul ul ul, #nav li.activesfhover ul ul ul {
left: -999em;
}
/* This "unhides" the sub-menus (left: -999em is what hides them) */
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul,
#nav li.sfhover ul, #nav li.havechildsfhover ul, #nav li.havechild-activesfhover ul, #nav li.activesfhover ul,
#nav li li.sfhover ul, #nav li li.havesubchildsfhover ul, #nav li li.havesubchild-activesfhover ul, #nav li li.activesfhover ul,
#nav li li li.sfhover ul, #nav li li li.havesubchildsfhover ul, #nav li li li.havesubchild-activesfhover ul, #nav li li li.activesfhover ul {
left: auto;
}
/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#nav li a {
margin: 0;
padding: 0 10px;
display: block;
color: #CCCCCC;
font-weight: normal;
text-decoration: none;
height:33px;
line-height:33px;
}
#nav li a:hover,
#nav li a:active,
#nav li a:focus {
background: url(http://legitracingteam.co.cc/templates/jw_getty/menu/../images/black/nav_hover_bg.png) repeat-x top center #580000;
color: #FFFFFF;
}
#nav li {
margin: 0;
}
#nav li:hover,
#nav li.sfhover,
#nav li.havechildsfhover,
#nav li.havechild-activesfhover {
background: url(http://legitracingteam.co.cc/templates/jw_getty/menu/../images/black/nav_hover_bg.png) repeat-x top center #580000;
color: #FFFFFF;
}
#nav li a.active,
#nav li a.active:hover,
#nav li a.active:active,
#nav li a.active:focus {
background: url(http://legitracingteam.co.cc/templates/jw_getty/menu/../images/black/nav_hover_bg.png) repeat-x top center #580000;
color: #FFFFFF;
}
/* 2nd level and above */
#nav li ul {
border: 1px solid #580000;
background: url(http://legitracingteam.co.cc/templates/jw_getty/menu/../images/opaque.png);
}
#nav li ul li {
border-bottom: 1px solid #580000;
background: none;
}
#nav li ul a {
border-right: none;
margin: 0;
padding: 0 10px;
background: none;
color: #CCCCCC;
font-weight: normal;
line-height: 33px;
text-transform: none;
height:33px;
}
#nav li.havesubchild,
#nav li.havesubchild-active {
background: url(http://legitracingteam.co.cc/templates/jw_getty/menu/../images/bullet2.gif) no-repeat 94% 50%;
}
#nav li ul a:hover,
#nav li ul a:active,
#nav li ul a:focus,
#nav ul li:hover,
#nav ul li.sfhover,
#nav ul li.havesubchildsfhover,
#nav ul li.havesubchild-activesfhover,
#nav ul ul li:hover,
#nav ul ul li.sfhover,
#nav ul ul li.havesubchildsfhover,
#nav ul ul li.havesubchild-activesfhover {
background: #580000;
color: #CCCCCC;
}
#nav ul li a.active,
#nav ul li a.active:hover,
#nav ul li a.active:active,
#nav ul li a.active:focus {
background: none !important;
color: #FFFFFF;
font-weight: bold;
}
</style>
<script type="text/javascript"><!--//--><![CDATA[//><!--
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script> <!--[if gte IE 7.0]><style type="text/css">.clearfix{display:inline-block}</style> <![endif]-->