B.34. empty-cells

This property lets you set whether empty table cells are displayed in a table operating in "separate borders" mode (see Section B.15border-collapse) or not.

Inherited: Yes

See also: Section B.15border-collapse

B.34.1. Value

show or hide. When set to hide, empty table cells, their borders, and their backgrounds are not drawn—the table background is visible in their place.

Initial value: show[4]

[4] Netscape 6 and Mozilla browsers default to hide when running in "quirks mode".

B.34.2. Compatibility

CSS Version: 2

Supported by Netscape 6 and Mozilla browsers. Not yet supported by any version of Internet Explorer.

B.34.3. Example

This style rule sets tables of class seethru to hide empty table cells:

table.seethru {
  border-collapse: separate;
  empty-cells: hide;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.18.220.243