What are the differences between cell spacing and cell padding?
Cell padding and Cell spacing are attributes of table tag. They are used for formatting. But they are different.
Cell Spacing is the pixel width between the individual data cells in the TABLE. (The thickness of the lines making the TABLE grid). The default is zero. If the BORDER is set at 0, the CELL SPACING lines will be invisible.
CELL PADDING is the pixel space between the cell contents and the cell border.
< table border="3" cellspacing="30"> < table border="1" cellpadding="15">