difference between cellpadding and cellspacing
Answers
Answer:
Cellpadding specifies the space between the border of a table cell and its contents (i.e) it defines the whitespace between the cell edge and the content of the cell. Cellspacing: Cellspacing specifies the space between cells (i.e) it defines the whitespace between the edges of the adjacent cells.
Explanation:
hope it helps
Explanation:
Difference between cellpadding and cellspacing
Cellpadding and cellspacing both are related to cells height and width in cellpadding space between 1 cell and cellspacing means space between 2 cells. Or borders of table.
Think of a cell as a box. Cellspacing is the space between boxes. Cellpadding is the space between the content inside the box and its borders.
Cell Spacing is used to set space between different table cells. CellPadding is used the space between the edges of the cell and the content of the cell.
Cellpadding space between Content of cell and Cell Wall while Cellspacing is space between two cells .