empty-cells

Values:

show | hide | inherit

Initial value:

show

Applies to:

Elements with the display value table-cell.

Inherited:

Yes.

Description:

empty-cells defines the presentation of table empty cells. If shown, the cell's borders and background are drawn. This property is ignored unless border-collapse is set to separate.

Examples:


th, td {empty-cells: show;}
Home 
  HTML CSS Book 
    CSS Reference  

Table:
  1. border-collapse
  2. border-spacing
  3. caption-side
  4. empty-cells
  5. table-layout
Related: