September 2004
Intermediate to advanced
712 pages
24h 45m
English
There are 10 display values that identify elements as
parts of a table. These are:
|
|
|
|
|
|
|
|
|
|
These display values have the obvious meanings by analogy with HTML 4.0 table tags. Their use should be consistent with each other and with other elements in the document. For instance, an element formatted as a table-row element should have a parent element formatted as a table and child elements formatted as table cells. For example, these three rules format the ingredients as a simple table:
ingredients { display: table }
ingredient { display: table-row }
quantity, component { display: table-cell }