jerry2
10-03-2006, 10:36 PM
Hi there
COuld anybody advise me if this is possible. I would like to make a table that has first row bordered, but other rows not. I know it is possible using border in CSS and <th> and <tr> but the problem is then the first row is 2 pixels wider, because it has border and the others do not have border.
The only trick I find is to make border around other rows also same colour as background on the table, so the border is seen as a background on the missing 2 pixels (when using border 1px;). But since I have tables with many different backrounds it makes it impractical.
Is there any easier way to do it using tables and CSS? And yes, I do need tables, as I use tabelar data :-)
Yours
Jernej
COuld anybody advise me if this is possible. I would like to make a table that has first row bordered, but other rows not. I know it is possible using border in CSS and <th> and <tr> but the problem is then the first row is 2 pixels wider, because it has border and the others do not have border.
The only trick I find is to make border around other rows also same colour as background on the table, so the border is seen as a background on the missing 2 pixels (when using border 1px;). But since I have tables with many different backrounds it makes it impractical.
Is there any easier way to do it using tables and CSS? And yes, I do need tables, as I use tabelar data :-)
Yours
Jernej