Visit Mozilla.org

CSS:empty-cells

From MDC

« CSS Reference

[edit] Summary

empty-cells CSS property specifies how user agent should render borders and backgrounds around cells that have no visible content.

[edit] Syntax

empty-cells: show | hide | inherit

[edit] Values

inherit
show 
borders and backgrounds should be drawn like a normal cells
hide 
no borders or backgrounds should be drawn

[edit] Examples

View Live Examples

.contentbox td {
  empty-cells: show;
}

[edit] Notes

[edit] Specifications

[edit] Browser compatibility

Browser Lowest Version
Internet Explorer ?
Firefox ?
Netscape ?
Opera ?
Safari ?

[edit] See also

caption-side table-layout border-collapse border-spacing empty-cells speak-header