CSS empty-cells Property Reference

The CSS empty-cells property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

CSS empty-cells Property Reference

The CSS empty-cells property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

empty-cells overview

The CSS empty-cells property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

empty-cells formal syntax
FieldValue
Formal syntaxshow | hide
Initial valueshow
Applies totableCellElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Table
StatusStandard

Practical examples

These declarations demonstrate valid ways to set empty-cells. The initial and inherit global keywords remain available even when a property-specific value is preferable.

empty-cells live example
CSS .reset-example { empty-cells: initial; } .inherit-example { empty-cells: inherit; } @supports (empty-cells: initial) { .supported { empty-cells: initial; } }

Description

The CSS empty-cells property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: empty-cells
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies