Hi,
Newbie question:
I made a navigation area on the left like this:
I wanted the links and the dots to change color. So in CSS I did this:Code:<div id="navigation"> <ul> <li><a href="home.html">Home</a></li> <li><a href="contact.html">Contact Us</a></li> </ul> </div>
But, when I bring the cursor to the links I notice that the dots of the list items change color as soon as the mouse is on the same horizontal line as they. However, the link itself doesn't change color until I bring the cursor directly on the words like "Contact Us".Code:#navigation a:link { color: #000099; } #navigation a:visited { color: #000099; } #navigation a:hover { color: #0000FF; } #navigation a:active { color: #000099; } #navigation ul li { list-style-type: circle; line-height: normal; color: #000099; } #navigation ul li:hover { color: #0000FF; }
How can I make the dots and the items themselves change color at the same time - i.e. only when I put the cursor on the words themselves?
Thanx.




Bookmarks