Hi I'm using CSS for a drop down menu, and it works in firefox, opera, and i think ie7. The reason i say "i think" is because i'm now testing the page in ie6 and it doesn't work, but it used to in ie7. I've posted the CSS below.
Any Ideas would be greatly appreciated.
Thank you!
Matt
Code:
<style type = "text/css">
#menu ul .top a {text-decoration: none; color: white;}
#menu ul .top a:hover {color: rgb(255,100,0);}
#menu ul .top a {font-weight: bolder; font-size: 16px; font-family: arial; sans-serif; text-align: left; background-color: black; margin-left: .2em;}
#menucontainer{margin-right: auto; margin-left: auto; width: 48em;}
#menu {position: absolute; display: block; width: 48em;z-index: 1;}
#menu ul .item {display: none; text-align: center;font-size: 12px;}
#menu ul:hover .item a {color:white; text-decoration: none;font-weight: bolder;}
#menu ul:hover .item a:hover {color:rgb(255,100,0);}
#menu ul {color: white; width: auto; text-align: left; float:left; list-style:none;}
#menu ul:hover .item {display: block; padding-top: .33em; font-family: arial, sans-serif; background-color: black;}
.clear{clear:both;height:10px;}
#menucontainer {margin-left: auto; margin-right: auto; padding-right: 5em;}
</style>
Thank you!
Matt
Comment