codescracker


css

CSS Empty Cells



« Previous Tutorial Next Tutorial »


The empty-cells property is used to define the border of an empty cell.

A cell that does not contain any content is known as an empty cell.

CSS empty-cell Property Values

The following table shows the possible values of the empty-cells property :

Value Description
show Displays a border around an empty cell
hide Hides the border of an empty cell
inherit Specifies that the value of the empty-cells property of an element should inherit the value of same property from its parent element.

CSS empty-cells Property Syntax

The syntax of the empty-cells property is as follows :

table { empty-cells:show; }

In the preceding syntax, the value of the empty-cells property is set to show. This indicates that the border is displayed around the empty cells.


« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test