CSS empty-cells property

Description

CSS empty-cells property decides whether to show an empty cell or not.

Syntax

empty-cells : separate | collapse

Property values

showDefault

The table cell is visible even if there is no content within table cell.

empty-cells: show;

hide

The table cell is not visible when content is not present within table cell.

empty-cells: hide;

Applicable to

It applies to table element.

#CSS digger
Was this article helpful?

 
Score
Name Aggregate Degree
James 70% BCS
Chris 80% BIT
John 90%
×

Ctrl+D