Prev | Current Page 246 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

1.
There are three properties (p. 285) that apply only to elements with a display property
value of list-item, but properties like margin-left and padding-left (in a
left-to-right reading environment) also affect the way in which list items are rendered.
In addition to the available list item properties, generated content (p. 347) can also
be useful for more advanced list numbering.
Table Formatting
Tables are the most complex elements in HTML, and table formatting is among the
most complex parts of CSS.
CSS defines a number of objects that are involved in table formatting, as Figure 6.12
reveals.
169 CSS Layout and Formatting
Figure 6.12: Table formatting objects
A table may contain a caption, row groups, and column groups. A row group contains
rows, while a column group contains columns. Rows and columns contain cells.
Tables are rendered as layers in a specified order from the bottom up: table, column
groups, columns, row groups, rows, and cells.
The table model in HTML is row-centric.


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