CSS Tables empty-cells


The empty-cells property determines if cells with no content should be displayed or not. This has no effect unless border-collapse is set to separate.

Below an example with two tables with different values set to the empty-cells property:

enter image description here

The table on the left has empty-cells: show while the one on the right has empty-cells: hide. The former does display the empty cells whereas the latter does not.

showThis is the default value. It shows cells even if they are empty.
hideThis value hides a cell altogether if there are no contents in the cell.

More Information: