You know one thing that still baffles me in all of CSS is how those cute little menus work. I even use one, and I still don’t get how it works.
Anyway, recently It was pointed out to me that I wasn’t exactly doing it right – and I should be using list. So I modified the menu and hey presto it works. Woo hoo. Problem is that since I don’t actually know how it works, I had better check with you guys that I am doing it right. Ha ha!
.menu_container a {display: block;
text-decoration: none;
padding: 1px 0px 1px 5px;
width:111px; }
.menu_container ul {margin:0;
list-style-type:none;}
.menu{ background-color:#D7D7D7;
color:#504040; }
a:hover.menu, a.down {background-color:
#990000; color: #FFFFFF; }
<div class=”menu_container”>
<h5 class=”menu_hd”>Product<br>Categories</h5>
<ul>
<li><a class=”down” href=”blah1″>blah1</a></li>
<li><a class=”menu” href=”blah2″>blah2>/a></li>
<li><a class=”menu” href=”blah3″>blah3</a></li>
</ul>