div#menuContainer { float: right; margin: 0; } div#menuContainer ul { margin: 0; padding: 0; border-bottom: 1px solid #FFFFFF; width:160px; } /* Fix IE. Hide from IE Mac \*/ * html div#menuContainer ul li { float: left; } * html div#menuContainer ul li a { height: 1%; } /* End */ div#menuContainer li { position: relative; list-style: none; background-color: #120988; } div#menuContainer li a { display: block; padding: 4px 6px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 11; color: #FFFFFF; font-weight: bold; font-style: normal; width:160px; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; } html>body div#menuContainer li a { display: block; padding: 4px 6px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 11; color: #FFFFFF; font-weight: bold; font-style: normal; width:146px; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; } div#menuContainer li:hover { background-color: #6699CC; } div#menuContainer li a:hover { color: #FFFFFF; } div#menuContainer a#active { background: #6699CC; color: #FFFFFF; } div#menuContainer ul li ul li a { width: auto; } div#menuContainer ul li ul li a:hover { background-color: #6699CC; } div#menuContainer > ul a { width: auto; } div#menuContainer ul ul { position: absolute; top: 0; left: 100%; display: none; border-bottom: 1px solid #FFFFFF; } div#menuContainer ul ul, div#menuContainer ul li:hover ul ul, div#menuContainer ul ul li:hover ul ul {display: none;} div#menuContainer ul li:hover ul, div#menuContainer ul ul li:hover ul, div#menuContainer ul ul ul li:hover ul {display: block;}