style sheet parameter to control border color around columns

davidj

New Member
Hi,

I'm new with style sheets and I have a page which in firefox the table columns
(border="2") are coming out black. I'm using the border color parameters like
border-top-color etc but they only control the color around the table not
the color around the column cell. Also the color is not black.

Are there other parameter to contol this.

Thanks
David J.
 

intrinzic

New Member
Try this:
On your css file:
Code:
.mytable {
border: 1px solid #336699;
}

.mytable td{
border: 1px solid #336699;
}

On your table:
HTML:
<table class="mytable">
 <tr>
    <td>Hello world</td>
 </tr>
</table>
 
Top