.menulist, .menulist ul { margin-left: 10px; margin-top:0; padding:2px; list-style: none; } *html .menulist { margin-top:10px;} *html .menulist ul { margin-top:10px;} .menulist ul { display: none; position: absolute; top: 14px; 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; background: #1492CD; margin-right: -1px; } .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: 3px; color: #fff; text-decoration: none; padding-left: 18px; padding-right: 18px; padding-top: 5px; padding-bottom: 5px; } .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus { color: #fff; background-color: #0066CC; }  .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: 3px; color: #fff; text-decoration: none; padding-left: 10px; padding-right: 10px; padding-top: 5px; padding-bottom: 5px; } .submenulist a:hover, .submenulist a.highlighted:hover, .submenulist a:focus { color: #fff; background-color: #0066CC; } .submenulist li { float: left; display: block; position: relative; background: #1492CD; margin-right: -1px; } .current-page a:hover, .current-page a.highlighted, .current-page a.highlighted:hover, .current-page a:focus, .current-page a:visited, .current-page a, .current-page { font-weight: bold; }