When I set the css to highlight the current menu, it works just fine. But when I have a drop-down menu, the css hightlights the entire drop down menu (meaning every item so the entire menu is that highlighted color.
I only want the menu to be highlighted and not the entire block. Can I ask for your help? Thanks in advance!
//<css>//
bodyhome #home a,
body#bio #bio a,
body#gallery #gallery a,
body#gallery #design a,
body#gallery #music a,
body#contact #contact a,
body#resume #resume a{
background: #A6DD00;
color:#FFFFFF;
text-decoration:none;
}
#gallery #menucont ul li a:hover{
background:#333333;
display:none;
height:auto;
padding:0px;
margin:0 0 0 0;
border:0px;
position:absolute;
width:225px;
z-index:200;
/*top: 50%;*/
/*left:0;*/
}
//<body>//
<body id="home">
//<div>//
<div id="menucont">
<ul>
<li id="home"><a class="active" href="index.php">home</a></li>
<li id="bio"><a href="bio.php">bio</a></li>
<li id="gallery"><a href="gallery.php">gallery</a>
<ul>
<li id="design"><a href="design.php">design</a></li>
<li id="music"><a href="music.php">music</a></li>
</ul>
</li>
<li id="contact"><a href="contact.php">contact</a></li>
<li id="resume"><a href="resume.php">resume</a></li>
</div>
<div id="footercont">
<ul>
<li>Copyright © 2011 All Rights Reserved.</li>
</ul>
</div>