Alignment and Spanning

Go to the Navigation pageHelpExitBackNext

Aligning at the <TR> Level
Depending on the size of your table, you can save yourself a considerable amount of time and effort by applying these attributes at the <TR> level and not in each individual <TD> tag. The HTML code here uses VALIGN="top" to bring the text to the top of each cell and VALIGN="bottom" to bring the table images to the bottom of their cells.

 
<TR VALIGN="top">
    <TD></TD>
    <TD><I>Product</I></TD>
    <TD><I>Description</I></TD>
    <TD><I>Price</I></TD>
</TR>
<TR VALIGN="top">
    <TD HEIGHT=110 VALIGN="bottom">
...