Quote:
Originally Posted by 6Strings21Frets That code works, but yeah I only want it for the navigation thing. Would I just put the tag after the navigation thing? |
OK, the CSS code should technically go somewhere inside the HEAD tag, but it really doesn't matter where the block goes. Here is the updated code for what you want.
HTML Code:
<style type="text/css">
.nav:hover{
background-color: yellow;
}
</style> Now, whenever you want a link to hover with a yellow background, you need to add the class attribute to it. Just add the
class="nav" thing to each anchor tag you want to change, like below:
HTML Code:
<a href="#" class="nav">This link will hover yellow</a>
<a href="#">This link will not</a>
And for the the thumbnails... you'll probably need some sort of Javascript code for it. I'll see if I can happen to find something.