Table Display Values

CSS was designed to work with all XML document languages, not just XHTML. It’s likely that other languages may have the need for tabular layouts, but will not have elements like table, td, or tr in their vocabularies.

To this end, the CSS 2.1 specification allows authors to assign table element roles to any element using the display property. The display property was discussed in Chapter 16 in relation to block and inline elements. This section covers the values listed in bold.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.