Tuesday, October 25, 2011

How to set up hover links in Dreamweaver?

I need to have two different styles of hover links. One style is for the navbar on the top of the page, which uses a bright text. The other is for links in the main body of the page, which needs to use a dark color.



But I can't manage to change the links in the main body. They all turn up with the light text that I set up for the navbar links. How can I fix this?How to set up hover links in Dreamweaver?Assuming your navbar is a DIV with the ID of navbar, like this: %26lt;div id=%26quot;navbar%26quot;%26gt;



Your styles would be:



a:hover {

color: #333;

}



#navbar a:hover {

color: #ff0;

}