Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

Print Version

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 website?

  • Share
  • Add this page to your Favorites
  • Link to this page (copy/paste into your own website or blog):
  • Link to Quackit using one of these banner ads.
  • Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

© Copyright 2000 - 2010 Quackit.com