empty-cells property
Determines whether to show or hide a cell without content.
![]() ![]() |
Syntax
empty-cells: show | hide
Property values
show-
Renders empty cells with inherited borders and styles
hide-
Does not render the cell
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
- CSS 2.1, Section 17.6.1.1
Remarks
If all cells in a particular row have the empty-cells value set to hide, the entire row will behave as if it had the display value of none.
The empty-cells value can be set for an entire table. If the value is set in the table properties to show,all cells will be rendered with borders, regardless of their content.
See also
Show:

