View Full Version : Managing tables CSS


Incendio
10-31-2005, 06:24 PM
I'm trying to make the link color of the links that are in a table change. But I'm not sure if it's even possinble. Can I use a stylesheet like this?


td.heading{
background-color:#808080;
letter-spacing:2px;
color: #E0E0E0;
font-weigh:bold;

A:link{
color: B4B4B4;
text-decoration: none;
font-weight:none;}

A:visited
{ color: #B4B4B4;
text-decoration: none;
font-weight: none;}

A:hover
{ color: #B8BAB9;
text-decoration: underline;
background-color: #EFEBEB;
font-weight: none;
cursor: help; }

A:active
{text-decoration: none;
color: #B8BAB9;
font-weight: none;}

I think not, since it didn't work for me. But is ther any other way??

J-man91
10-31-2005, 07:04 PM
Give your table an id like this:
<table id="tlinks"><tr><td>tablestuff</td></tr></table>
and then in your css you would put:
#tlinks A:link{
color: B4B4B4;
text-decoration: none;
font-weight:none;}

#tlinks A:visited
{ color: #B4B4B4;
text-decoration: none;
font-weight: none;}

#tlinks A:hover
{ color: #B8BAB9;
text-decoration: underline;
background-color: #EFEBEB;
font-weight: none;
cursor: help; }

#tlinks A:active
{text-decoration: none;
color: #B8BAB9;
font-weight: none;}
Hope that helps!

Incendio
11-02-2005, 07:04 PM
Wow! It worked, thanks SO much !!! :) :) :)