W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2005

Tables: Border spacing, cell padding and calculating widths

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Fri, 26 Aug 2005 15:22:43 +0300
Message-ID: <430F0993.3030805@myrealbox.com>
To: www-amaya@w3.org

/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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:48 UTC