Good day
i have this html
<ul id="nav" class="nav-1">
<li><a href="#">Loans</a></li>
<li><a href="#">Bancassurance</a>
<ul class="nav-2">
<li><a href="#">darb</a></li>
<li><a href="#">elem</a></li>
<li><a href="#">ghad</a></li>
</ul>
</li>
</ul
im using :
.nav-1 li:hover a {
background:#FF0000;
}
The baground is now red for each li in .nav-1 and for all li in .nav-2
what i want is to stop the effect of red background ==> only .nav-1 should be red
not li and sub menu
any help or link ?
Thank u for any help