can i get 2 link colors?

liunx

Guest
hello,<br />
<br />
i'm just wondering if its possible to get two different link colors on one html document.<br />
<br />
i have the general ones set it the body tag:<br />
<br />
<BODY LINK="WHITE" ALINK="WHITE" VLINK="WHITE"><br />
<br />
but is there any way using CSS or something that will allow me to change the link color. The links that I want to change are enclosed within <DIV></DIV> tags.<br />
<br />
thank you.<!--content-->In stylesheet:<br />
<br />
<style><br />
<br />
A.className:link { text-decoration: none;color: red;}<br />
A.className:visited { text-decoration: none;color: black;}<br />
A.className:hoover { text-decoration: underline;color: white;}<br />
A.className:active { text-decoration: underline;color: red;}<br />
<br />
</style><br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"..." class="className">some link</a><br />
<br />
Above allow you to control behaviour of links when mouse is over it, when it is visited, active, etc<br />
<br />
If you only want to change the link color or underline of a link then just do this (wont set behaviour as above solution does):<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/".." style="color: red;">some link</a><!--content-->
 
Back
Top