This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?
Note: The HTML pages are out-of-date and will not be updated.
Tables without adequate spacing in or around cells are difficult to read. The cell padding attribute places spacing around data within each cell. The cell spacing attribute places space around each cell in the table. The second and third examples below show the use of cell padding or spacing. You can apply both padding and spacing, as in the fourth and fifth examples. In order to place space in or around each cell (or both), place the padding and/or spacing attributes within the <TABLE> code.
|
<TABLE BORDER=1> <TR> <TD>Red</TD> <TD>Green</TD> <TD>Blue</TD> </TR> <TR> <TD>Orange</TD> <TD>Yellow</TD> <TD>Purple</TD> </TR> </TABLE> |
|
<TABLE BORDER=1 CELLSPACING=10> <TR> <TD>Red</TD> <TD>Green</TD> <TD>Blue</TD> </TR> <TR> <TD>Orange</TD> <TD>Yellow</TD> <TD>Purple</TD> </TR> </TABLE> |
|
<TABLE BORDER=1 CELLPADDING=10> <TR> <TD>Red</TD> <TD>Green</TD> <TD>Blue</TD> </TR> <TR> <TD>Orange</TD> <TD>Yellow</TD> <TD>Purple</TD> </TR> </TABLE> |
|
<TABLE BORDER=1 CELLPADDING=10 CELLSPACING=10> <TR> <TD>Red</TD> <TD>Green</TD> <TD>Blue</TD> </TR> <TR> <TD>Orange</TD> <TD>Yellow</TD> <TD>Purple</TD> </TR> </TABLE> |
|
<TABLE BORDER=7 CELLPADDING=7
CELLSPACING=7> <TR> <TD>Red</TD> <TD>Green</TD> <TD>Blue</TD> </TR> <TR> <TD>Orange</TD> <TD>Yellow</TD> <TD>Purple</TD> </TR> </TABLE> |