Example

A simple empty-cells property example:

Laboratory

description & Usage

We can use the empty-cells property to display the border of empty cells in the grid layout (table).

Informations

# Description
Default Value show
Inherited yes
Animatable no
Version CSS2
JavaScript syntax object.style.emptyCells="hide"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
empty-cells

Syntax

Values

Values Description
show It shows the borders of the cells.
hide It hides the borders of the cells.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.