View Full Version : Visited hyperlinks
CarolineBrown
08-09-2002, 04:01 PM
Can you tell me how to change the colour of a hyperlink once it has been visited by the user either in javascript or html
boxer_1
08-09-2002, 04:12 PM
Hi,
<style type="text/css">
a:link {color: blue;}
a:visited {color: green;}
a:hover {color: red;}
a:active {color: lime;}
</style>
Put the above in the head section of your page. This is just a brief example to give you the general idea ;) .
boxer_1
08-09-2002, 04:15 PM
Ahh, this was cross-posted in the Javascript Programming forum, I moved it here (where it belongs), only to find it was already here and is now double posted. Please read the rules before posting: http://www.codingforums.com/rules.htm
Closing thread.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.