CSS:empty-cells
From MDC
[edit] Summary
empty-cells CSS property specifies how user agent should render borders and backgrounds around cells that have no visible content.
- Initial value: show
- Applies to: 'table-cell' elements
- Inherited: yes
- Percentages: n/a
- Media:
visual - Computed value: as specified
[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
.contentbox td {
empty-cells: show;
}
[edit] Notes
[edit] Specifications
- W3C Cascading Style Sheets, level 2 revision 1
- W3C Cascading Style Sheets, level 2
- W3C Cascading Style Sheets, level 3
[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