Color of the links

liunx

Guest
Hi,<br />
I have a table and have some links in the cells of it. I want to set the background of the cells to be black and the links to be white. Now, the problm is that the links appear to be in default blue color and after visiting the link it changes to red which doesn't appear on the black background. I tried using the :link and :visited properties but it didn't help.<br />
<br />
<td width="15%" height="2" style="background-color: rgb(0,0,0); color: rgb(255,255,255)" ordercolor="#FFFFFF"<br />
bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" valign="middle" align="center"><a:link {color:white}<br />
href=http://www.webdeveloper.com/forum/archive/index.php/"Firstpage.htm">Profile</td><br />
<br />
Can someone help? Thanks in advance.<br />
<br />
-geets<!--content-->Make this style in your <head><br />
<br />
<style type="text/css"><br />
A.menu:link, A.menu:visited, A.menu:active, A.menu:hover {<br />
color: white;<br />
}<br />
</style>and change your <a href> to this<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"Firstpage.htm" class="menu">Profile</a><!--content-->Thanks Pyro. I could do it.<!--content-->
 
Back
Top