Title: Cell Padding
URL: http://www.activejump.com/j-5.shtml
Email: webmaster@activejump.com
Introduction
Cell padding controls the distance between the text in the cell and edge of the cell. This allows you to better
organize your page and make it look just how you want it to. In this section you will learn how to use cell padding.
Cell Padding
Cell Padding controls the distance between the text in the cell and the edge of the cell. To specify cell padding and it's
distance, you add the line
CELLPADDING="X" to the <TABLE> tag so the final result looks like:
<TABLE CELLPADDING="X">
The X in the line, is replaced with the number of pixels you want between the text and cell edge.
|
index.html - Notepad |
....<BODY>
<TABLE CELLPADDING="15">
<TR> <TD> Cell 1 </TD> <TD> Cell 2 </TD> </TR>
<TR> <TD> Cell 3 </TD> <TD> Cell 4 </TD> </TR>
</TABLE>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
|
|
|