Makar
10-31-2004, 11:03 PM
I've been trying to get this to work, but now I'm wondering if it can work in the first place:
TD.top
{
background-color: #00FFFF;
border-style: solid;
border-width: 1 px;
border-color: #006699;
}
(Then I put td class="top" in the appropriate tag)
If I use TR.top and put it in the <tr> tag instead, won't that put one border around all the cells in the row? I can't even get that working either, so there was no way to test it. It seems the only way I can put a border around each individual cell is to assign a border to the whole table as well, which I don't want to do. Is there a way to make this work?
TD.top
{
background-color: #00FFFF;
border-style: solid;
border-width: 1 px;
border-color: #006699;
}
(Then I put td class="top" in the appropriate tag)
If I use TR.top and put it in the <tr> tag instead, won't that put one border around all the cells in the row? I can't even get that working either, so there was no way to test it. It seems the only way I can put a border around each individual cell is to assign a border to the whole table as well, which I don't want to do. Is there a way to make this work?