Page 1 of 1

deactivate a.link: visited property of link style

Posted: Mon Aug 25, 2003 8:46 am
by kendall
Hello,

I have created a css style a class in which an a.link is one colour and on a mouseover it is inverted (use of changing cell color). however this affect is spolied when the a.link : visited style property is enforced. now where i create one or not the visited style property is enforced. Is there anyway to disable this style property so as to have the a.link and link.hover effect enforced.

Note: im not worried with downward compatability.


Kendall

Posted: Mon Aug 25, 2003 8:54 am
by trollll
If you set a:link and a:visited to the same color it should work fine. So you could have something like:

Code: Select all

a:link		{color: #666666;}
a:visited	{color: #666666;}
a:active	{color: #999999;}
a:hover		{color: #000000;}

Posted: Thu Aug 28, 2003 9:14 am
by JAM
or

Code: Select all

a {color: #999999;} 
a:hover {color: #000000;}