NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties


This CSS2 property is used to control whether or not borders show on empty table cells. It takes two values: show or hide. The example here shows the subtle difference. In most browsers that do not support this property, empty table cell borders are generally hidden.


<table border="1" style="empty-cells:show; width: 80px;">
<caption>Show Cells</caption>
<td colspan="2">Cell 1</td>
<td>Cell 2</td>

Browser and CSS Support Notes

IE does not support except IE Mac
Nav 6, 7
Opera 5, 6, 7

(X)HTML Elements
CSS Properties
Back: display Next: float
< Home | About | Chapters | Examples | Errata | Reference | Site Map >