.menulist, .menulist ul { margin: 0; padding: 0; list-style: none; } .menulist ul { display: none; position: absolute; top: 24px; margin-top: 13px; left: 1px; width: 150px; } .menulist ul ul { top: -1px; margin-top: 0; left: 148px; } .menulist li { float: left; display: block; position: relative; } .menulist ul li { float: none; margin: 0; margin-bottom: -1px; } .menulist ul>li:last-child { margin-bottom: 1px; } .menulist a, .menulist a:visited, .menulist a.highlighted { display: block; padding: 10px; color: #0089CC; text-decoration: none; padding-left: 5px; padding-right: 5px; } .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus { background:url(/images/nav_bg.png) bottom repeat-x; color: #705100; }  .menulist a .subind { display: none; } .menulist ul a .subind { display: block; float: right; }  .menulist a { float: left; } .menulist ul a { float: none; }  .menulist a { float: none; }   *:first-child+html .menulist ul li { float: left; width: 100%; } * html .menulist ul li { float: left; height: 1%; } * html .menulist ul a { height: 1%; }   .submenulist a, .submenulist a:visited, .submenulist a.highlighted { display: block; padding: 9px; color:#fff; text-decoration: none; padding-left: 10px; padding-right: 10px; } .submenulist a:hover, .submenulist a.highlighted:hover, .submenulist a:focus { color: #0089CC; background-color: #FFFFFF; } .submenulist li { float: left; display: block; position: relative; border: 0px solid #999999; background: #705100; color:#fff; } #menu .current-page a:hover, #menu .current-page a.highlighted, #menu .current-page a.highlighted:hover, #menu .current-page a:focus, #menu .current-page a:visited, #menu .current-page a, #menu .current-page { background:url(/images/nav_bg.png) bottom repeat-x; color: #705100; }