color of links

liunx

Guest
I have text in a table being read in from a database and is also formatted as a link to anohter page. I am trying to change the color of the links when it first appears and change the color of the link when someone clicks on it. I think it has something to do with the vlink thing, but not sure. Any suggestions?<!--content-->vlink and alink are all deprecated. you need to use css for this. put this in your page.<br />
<br />
<style type="text/css"><br />
A:link { <br />
COLOR: #0000ff;<br />
FONT-FAMILY: arial,"ms san serif", verdana,tahoma,helvetica;<br />
<br />
}<br />
A:visited { <br />
COLOR: #0000ff;<br />
FONT-FAMILY: arial,"ms san serif", verdana,tahoma,helvetica;<br />
<br />
}<br />
A:active { <br />
COLOR: #0000ff;<br />
FONT-FAMILY: arial,"ms san serif", verdana,tahoma,helvetica;<br />
<br />
}<br />
A:hover { <br />
COLOR: #000080;<br />
FONT-FAMILY: arial,"ms san serif", verdana,tahoma,helvetica;<br />
<br />
}<br />
</style><!--content-->
 
Back
Top