Table formatting: empty-cells

Yet another poorly-supported property for table styling.

The empty-cells property controls whether or not borders and backgrounds are shown for table cells that have no content. All well and good; by clicking the 'show' / 'hide' buttons below, you can see the effect this has:

1 one
1 one

Browser support for this feature is terribly inconsistent:

The spec also says:

Furthermore, if all the cells in a row have a value of 'hide' and have no visible content, then the row has zero height and there is vertical border-spacing on only one side of the row.

a) empty-cells: show
1one
b) empty-cells: hide
1one
c) display:none set on tr
1one

Updates

Monday 13th October 2008


Comments

Leave a comment