Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
IMCreator - Free Website Builder

CSS empty-cells

Also see the full, alphabetical list of CSS properties


The CSS empty-cells property specifies whether to display or hide borders on empty table cells.

Empty table cells are cells that don't contain any visible content. Visible content includes " " and other whitespace except ASCII CR ("\0D"), LF ("\0A"), tab ("\09"), and space ("\20")

When the empty-cells property is set to 'show', borders are drawn around the empty cell. When set to 'hide', no borders are drawn around it.

Syntax: empty-cells: <value>;
Possible Values:
  • show
  • hide
  • inherit
Initial Value: Show
Applies to: 'table-cell' elements
Inherited: Yes
Media: Visual
Example: table { empty-cells: show }
Try it yourself!


Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!