Click here to Skip to main content
15,073,911 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello! Actually I am using the following css in my project.Everything is working fine except the visited link.I have a lots of link and they are not displaying the visited link color. how to resolve it? and yes when i click on some other link i want the previous link to retain it's previous colour.
Any help would be appreciated. Thanks in advance!

a:link {color:#3333FF;}   

a:hover {color:#FF00FF;font-size:150%;text-decoration:underline;background:yellow;} 

a:active {color:YELLOW;} 

a:visited {color:red;}

1 solution

Works for me. Tested (just in case, it was already clear that something's wrong). Perhaps you used some weird Web browser :-)

Smrng 27-Sep-12 1:47am
Umm.. I tried on my other browser too. Didn't help.Anyways thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900