Affecting Table Appearance 183
Tables
Affecting Table Appearance
Web Design in a Nutshell, eMatter Edition
Even if you don’t want a table to display with a border in your final design,
turning the border on during the design process can help in visualizing the table
structure; it is particularly useful for debugging problematic tables. Just remember
to turn it off again before uploading.
Positioning a Table on the Page
On current browsers (Navigator and IE versions 3.0 and higher), tables behave the
same as images when it comes to placing them in the flow of the page. Use the
alignattribute in the
) is generally displayed in bold text centered horizontally and vertically in the cell. You can override these defaults by using thealignand valign attributes at either the row or cell level. Row Settings | |
---|---|
or | ) within that row. This makes it easy to apply alignment changes across multiple cells. Figure 10-7: Default placement of data within a cell. |