empty-cells
A table property that determines if borders and backgrounds should be shown for cells that have no visible content.
Quick example
table {
/* Hides borders/backgrounds for cells with no text or content */
empty-cells: hide;
} Quick facts
Initial value
showInherited
Yes
Applies to
table cell elements
Animation type
discrete
Values
showhide empty-cells Browser Support
Widely available Since 2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
1+
1+
1.2+
12+