CSS empty-cells Property

Description

Specifies the display of table cells that have no visible content.

Initial value
show
Applies to
'table-cell' elements
Inherited
Yes
Media
Visual
Computed value
As specified
Animatable
No
CSS Version
CSS3
JavaScript syntax
object.style.emptyCells

Syntax

Formal syntax: show | hide | inherit

empty-cells: show;
empty-cells: hide;

Values

  • showRenders empty cells with inherited borders and styles.
  • hideDoes not render the cell.

Example

.class {
   empty-cells: show;
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
8121141.2
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
118410.13.1X