
Information
The Basics
Text
Pictures
Spacing
Colors
Links
Alignment
Lists/Bullets
Tables
Frames
Multimedia
Forms
ISO Characters
Meta Tags
Contact Us

Email Support
Email Contact
|
 |
 |
Introduction
Cell spacing controls the distance between the cells. 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 spacing.
Cell Spacing
Cell Spacing controls the distance between the cells. To specify cell spacing and it's distance, you add the line
CELLSPACING="X" to the <TABLE> tag so the final result looks like:
<TABLE CELLSPACING="X">
The X in the line, is replaced with the number of pixels you want between the cells.
|
index.html - Notepad |
....<BODY>
<TABLE CELLSPACING="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 |
|
|
Test Your HTML
|
|