CSS Question - HELP
CSS Question - HELP
- Started
- Last post
- 8 Responses
- ukit
How do I achieve the following: drop down nav where when subitem is highlighted the top item stays highlighted.
Like this one:
- 7point340
it doesn't tell you there?
or you can't grab the code and look?
- ETM0
- epikore0
what's a drop down menu?
- anotheruser0
ul li{background:silver} // normal state
ul li:hover{background:red} // answer to your question
Internet Explorer 6 will need a piece of javascript. Look for "suckerfish".
- Stugoo0
you dont need jquery but it helps
http://www.stugoo.co.uk/testbed/…
- Stugoo0
look at the source.
/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#000; background:#b7d186;}
.menu :hover > a, .menu ul ul :hover > a {color:#000; background:#b7d186;}however i think it wont work in ie. not sure. on my gf,s lappy