Hi
I'm trying to set the style of my table with css. I defined the style of a table cell with the following CSS properties:
The table is set up like this:
In between 2 cells, the border seems to be 2 pixels wide. I thought this could be changed with the border-collapse, but apparently this doesn't work. Any ideas what I do wrong?
Thanks
Steven
I'm trying to set the style of my table with css. I defined the style of a table cell with the following CSS properties:
Code:
.tdCell
{
border: 1px solid black;
FONT-SIZE: 13px;
COLOR: #000000;
background-color: #CDCDCD;
FONT-FAMILY: Arial, Helvetica, sans-serif;
TEXT-ALIGN: justify;
TEXT-DECORATION: none
}
The table is set up like this:
Code:
<table style="width: 390px; border-collapse: collapse" cellspacing="0" cellpadding="0">
<tr>
<th class="tdCell"> Code</th>
<th class="tdCell"> Anticorps contre</th>
<th class="tdCell"> Ig-class</th>
<th class="tdCell"> Substrate</th>
</tr>
</table>
In between 2 cells, the border seems to be 2 pixels wide. I thought this could be changed with the border-collapse, but apparently this doesn't work. Any ideas what I do wrong?
Thanks
Steven