Cascading Style Sheets/Tables
From Wikibooks, the open-content textbooks collection
< Cascading Style Sheets(Redirected from CSS Programming/Tables)
[edit] Displaying Tables
W3C Specification CSS2.1
The display property is extended with the following values by CSS2.1:
tableinline-tabletable-row-grouptable-header-grouptable-footer-grouptable-rowtable-column-grouptable-columntable-celltable-caption
Adjacent borders of cells can be made one border thin using the border-collapse property, like "border-collapse:collapse;".
The spacing between the borders of cells can be set using the border-spacing property, since CSS2. The setting of the property has no effect if borders have been made look one border thin using "border-collapse:collapse;".