rrsnider
01-01-2002, 03:26 PM
Does anyone know how to control the color of hyper link text once it is clicked. I know how to use the color tag but once it is pressed it always goes purple. I assume this is the default, is there a way to change it ?
Thanks.
Matt Lightner
01-01-2002, 03:38 PM
You can define that color in your page's body tag. Like so:
<body vlink="#00FF00">
You can change that color to whatever you like. The example above will turn links green after they have been visited.
Matt
mlightner@site5.com
bobcares
01-02-2002, 01:22 PM
Hi!
Using style sheets is a wonderful option in such cases..
Have a great day :)
regards
amar
cactus
01-02-2002, 01:58 PM
Yes, use CSS
Put this code inside your HEAD TAG
EXAMPLE:
<HEAD>
<STYLE TYPE="text/css">
<!--
A:link {color: #0000FF }
A:visited {color:#0000FF }
A:active {color:#00FF00 }
A:hover {color: #FF0000 }
-->
</STYLE>
</HEAD
The above colors are:
BLUE
BLUE
GREEN
RED
cactus
01-02-2002, 02:01 PM
Yes, use CSS
Put this code inside your HEAD TAG
EXAMPLE:
<HEAD>
<STYLE TYPE="text/css">
<!--
A:link {color: #0000FF }
A:visited {color:#0000FF }
A:active {color:#00FF00 }
A:hover {color: #FF0000 }
-->
</STYLE>
</HEAD
The above colors are:
BLUE
BLUE
GREEN
RED
Change to any color to suit your "text" links by changing the color code
ckpeter
01-02-2002, 02:54 PM
If I am not mistaken, you can just use the common name of the color, ie., red, blue, etc.
Peter