By default, most
browsers display table header cell content in bold (and centered) to differentiate it
from table data; also, in the following section, you??™ll be using CSS to style everything,
anyway.
It??™s always best to keep your HTML as simple as possible, and do any styling in CSS.
This reduces page load times, and means that you have a greater degree of control. It
also means that people without the ability to view CSS see the browser defaults, which
are sensible and clear.
Remember that row groups must be added in the order outlined in
the previous ???Row groups??? section.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
244
5. Add table foot content. As mentioned, the footer for this table is to essentially be
a signature, stating who??™s at fault for this selection of music. Because this is a single
line of text that could potentially span the entire table width, simply include a
single table cell, set to span five rows (using the colspan attribute).
Music selection by: ?? www.snubcommunications.com |
6. Add table body content. Finally, add the table??™s body content via the usual method,
using table row and table cell elements. This table will have nearly 20 rows, so to
save on trees, only the first two rows are detailed in the following printed code
block??”you can add all the others in the same way, or just copy across the content
of building-the-table-body.
Pages:
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342