Prev | Current Page 248 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

The
valid values in CSS2.1 are top and bottom, which should be fairly self-explanatory.
The internal elements of tables??”row groups, column groups, rows, columns, and
cells??”generate regular boxes that can have borders. Cells can also have padding,
but internal table objects don??™t have margins.
Ten of the valid values for the display property denote table-related formatting
styles. These values, and the HTML element types with which they??™re associated
by default, are shown in Table 6.2.
Table 6.2: Table display Property Values
HTML Element Property Value Element Type
table table Table
n/a inline-table
caption table-caption Caption
thead table-header-group Row group
tfoot table-footer-group
tbody table-row-group
tr table-row Row
colgroup table-column-group Column group
col table-column Column
td table-cell Cell
th
171 CSS Layout and Formatting
These display values can also be specified for other element types than those that
belong to the HTML table model; however, Internet Explorer versions up to and
including 7 don??™t support these values.


Pages:
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260