Tables: Border spacing, cell padding and calculating widths

/Stanimir Stamenkov/:

> A test case using CSS:
> 
> http://stanio.info/table_cell_spacing.html
> 
> When cell padding is specified using CSS, cells always overlap, no 
> matter if there's cell spacing specified.

Additional tests shows the overlapping effect is triggered by the 
padding value:

   td, th { padding: 0.4em }

Seems o.k. but:

   td, th { padding: 0.5em }

causes the cells to overlap.

More weird things, if one adds:

   tr { border: none }

rows get some vertical spacing.

-- 
Stanimir

Received on Friday, 26 August 2005 12:22:51 UTC