PDA

View Full Version : Can't change table background in CSS


plasticsurgery
06-28-2008, 02:11 AM
Hello,

I'm trying to set a table style to have a colored background other than the background of the page. This is the format I'm using:

.tborder2
{
background: #ccccff;
color: #cccccc;
background-color: #ccccff;
}

I can get every variable to work except for the background color, which it doesn't respond to. How do I do this? Is there some variable somewhere else I have to change? I only want the table background color to change in this one style only. Thank you.

Attitude5ire
06-30-2008, 04:35 PM
.tborder2 {
background:#ccccff;
}
thats it.. u dnt need the other 2..
color is for font color in that table.