Likewise, you can set
the vertical-align property to middle, bottom, and various other values, as outlined
in Appendix D, ???CSS Reference.???
Take care when using visual web design applications: many of them add deprecated
elements to tables if you manually drag the cells around. Use your favored application??™s
preferences to turn off this feature, otherwise you??™ll end up with obsolete and
redundant markup.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
238
That??™s pretty much where many web designers leave tables; however, there are other elements
and attributes that should be used when creating tables, which will be covered in
the following sections.
Creating accessible tables
Many web designers ignore all but the most basic elements when working with tables, and
in doing so they end up with output that causes problems for screen readers. By correctly
and carefully structuring and formatting a table, not only will users of screen readers benefit,
but you as a designer will also have far more control over its visual appearance.
Additionally, extendable browsers like Firefox can also enable you to use the table data
in other ways, including outside of the browser. For example, the TableTools plug-in
(https://addons.mozilla.org/en-US/firefox/addon/2637) enables sorting, filtering,
and exporting of tabular data from a web page. A properly formatted table will enhance
this, making the table even more useful. Adding a few extra elements and attributes to
your table is a win-win situation, and it??™s surprising to note how few designers bother with
anything other than rows and cells in their tables.
Pages:
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334