Home › Forums › CSS › sub nav not showing in IE › Re: sub nav not showing in IE
July 8, 2009 at 1:47 pm
#60373
Participant
Not really no. :?
What’s going on here?
Code:
#navigation a {font-weight: bold;color: #e1e1e1;display: block; text-decoration: none; padding: 10px 10px; }
#navigation a:hover {color:#fff; background: #414244;}
#navigation a:hover {color:#fff; background: #414244;}
#navigation li li {float:right; width:auto; text-align:left; padding: 10px 10px; }
#navigation li li a {color: #fff; font-size: 0.875em; float:right; padding: 5px 8px;}
#navigation li li:hover {color:#fff;background: #c0c0c0;}
#navigation a – that’s all links in the navigation.
#navigation li li – is that the list items in the menu or the submenu?
#navigation li li:hover – menu or submenu you are applying the hover to the list item when it should be on the anchor tag.