empty-cells Attribute | emptyCells Property
Determines whether to show or hide a cell without content.
Syntax
CSS { empty-cells : sValue } Scripting [ sValue = ] object.style.emptyCells [ = sValue ]
Possible Values
sValue String that specifies or receives one of the following values.
show- Renders empty cells with inherited borders and styles
hide- Does not render the cell
The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited.
Remarks
If all cells in a particular row have the empty-cells value set to
hide, the entire row will behave as if it had the display value ofnone.The emptyCells value can be set for an entire table. If the value is set in the table properties to
show, all cells will be rendered with borders, regardless of their content.
Standards Information
This property is defined in CSS2.1.
Applies To
CSSStyleDeclaration, currentStyle, runtimeStyle, style, TABLE, TD, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor