hwg-basics archives | Jan 2005 | new search | results | previous | next |
Re: Rollover text link in Dreamweaverby "Tim Rivera" <lists(at)timrivera.com> |
|
Hello Janet, > set the rollover link color. It works fine until I click on the link > then when I go back to the same link the color doesn't change. Your problem has to do with the order in which the rulesets are written. Because you have a second a:visited after the a:hover, the a:visited color overrules the a:hover (as well as the first a:visited.) The correct cascading order for pseudo-classes is: :link :visited :focus :hover :active Tim
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA