Css – setting a:visited link to same state as a:link and a:hover


I'm working on a idea where my a:link have one state (blue, no underline etc) with a a:hover being white. I want my visited links to have the same state as a:link and a:hover. Is this possible? supported in most common browsers?

Best Answer

a, a:link, a:hover, a:visited, a:active {text-decoration: none; color: blue;}

should work on all CSS-enabled browsers, although this is a bad idea (currently offline, Google Cache)

To make a:hover white, either remove it from the above rule and make a special rule for it or add just:

a:hover {color: white !important;}