Hi all,
I have list for a menu and when the page is loaded I want one link that is highlighted (has a default description div).
in the cssCode:<ul class="sub-menu"> <li class="active">link1</li> <li>link2</li> <li>link3</li> <li>link4</li> </ul>
What I want is for the link1 to have a background of default white when hovering over the other links.Code:.sub-menu li:hover > a, .sub-menu li.active > a { background-color: red; }
This will always be the first li element (first-child, tried that also).
Thanks,
Loren



Reply With Quote
Bookmarks