# Property Description

The empty-cells property sets whether or not to display borders and background on empty cells in a table. This property only applies to the separate borders model.

# Property Values

Value | Description
--- | ---
hide | No border or background will be shown on empty cells
show | (default) Background and borders are shown on empty cells
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example hides the borders and background on empty cells in a table.

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

# Browser Support

Firefox | IE | Chrome | Opera | Safari
| 2 |  |  |

1 - 'inherit' not supported by IE

2 - This property supported in IE 8 (and above) only if `!DOCTYPE` is specified

# Miscellaneous Information

Inherited: | Yes
Defined In: | CSS2