PDA

View Full Version : Visited hyperlinks


CarolineBrown
08-09-2002, 04:03 PM
Does anyone know how to change the colours of hyperlinks once they have been visited by the user, in either html or javascript or whatever

applesauce
08-09-2002, 04:10 PM
in css, here's all my link stuff, including visited:

A:link {color: #411F60}
A:visited {color: #411F60}
A:active {color: #411F60}
A:hover {background-color: #D7FFFF}
A {text-decoration: none }
A {font-variant: small-caps}
A {font-weight: bold}
A {font-family : tahoma, "microsoft sans serif", sans-serif }

here's a good website reference for css: http://www.w3schools.com/css/css_reference.asp

duniyadnd
08-10-2002, 07:41 AM
if you want to avoid css altogether, you could just make some simple commands in the body tag

<body text="#ffffff" link="#adeaae" vlink="#adaeae" bgcolor="#000000" background="yourimage.jpg">

text = normal text color
link = color of link before user has clicked on it
vlink = color of link once user has visited that page
bgcolor = color of the back page
background = background image