.menulist, .menulist ul { margin: 0; padding: 0; width: 140px; list-style: none; } .menulist ul { display: none; position: absolute; top: -1px; left: 140px; } .menulist li { position: relative; border: 1px solid #fff; background : #f2f7e9 url(/images/menu1.png) no-repeat top left; margin-bottom: -1px; } .menulist ul>li:last-child { margin-bottom: 1px; } .menulist a, .menulist a:visited, .menulist a.highlighted { display: block; padding: 3px 3px 3px 33px; color: #060; text-decoration: none; } .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus { color: #060; background : #f2f7e9 url(/images/menu2.png) no-repeat top left; } .menulist a .subind { float: right; }  *:first-child+html .menulist li { float: left; width: 100%; } * html .menulist li { float: left; height: 1%; } * html .menulist a { height: 1%; }   .submenulist a, .submenulist a:visited, .submenulist a.highlighted { display: block; padding: 3px 3px 3px 33px; color: #060; text-decoration: none; } .submenulist a:hover, .submenulist a.highlighted:hover, .submenulist a:focus { color: #060; background : #f2f7e9 url(/images/menu2.png) no-repeat top left; } .submenulist li { border: 1px solid #fff; background : #f2f7e9 url(/images/menu1.png) no-repeat top left; 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 { background : #f2f7e9 url(/images/menu2.png) no-repeat top left; }