Scholar Repository
Home>Manual>CSS Empty-cells Property

CSS Empty-cells Property

From http://www.w3schools.com (Copyright Refsnes Data)

CSS empty-cells Property


CSS Reference Complete CSS Reference


Definition

The empty-cells property sets whether or not to show empty cells in a table (only for the "separated borders" model).


JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.

Scripting Syntax: object.style.emptyCells="show"

In our HTML DOM tutorial you can find more details about the emptyCells property.

In our HTML DOM tutorial you can also find a full Style Object Reference.


Example

table 
{
empty-cells: show
}

Possible Values

Value Description
hide Default. No borders are drawn around empty cells
show Borders are drawn around empty cells

 


Try-It-Yourself Demos

Show empty cells in a table
This example demonstrates how to show empty cells in a table.


CSS Reference Complete CSS Reference

From http://www.w3schools.com (Copyright Refsnes Data)

Home>Manual>CSS Empty-cells Property