The Planets
Mercury |
Mars |
Jupiter |
Saturn |
Wow - how did you do that
?
CELLPADDING -
yet another property. Cellpadding specifies the amount
of space between the contents and the borders of a cell.
In this example, I've set it to quite a large
value - 15. As you can see it is quite
effective.
Like the BORDER property,
the default value for CELLPADDING is 0.
<TABLE BORDER="2" CELLPADDING="15">
<TR>
<TD ALIGN="CENTER">Mercury</TD>
<TD ALIGN="CENTER">Mars</TD>
</TR>
<TR>
<TD ALIGN="CENTER">Jupiter</TD>
<TD ALIGN="CENTER">Saturn</TD>
</TR>
</TABLE>
Try it out yourself in the
box below:
|