InterviewSolution
Saved Bookmarks
| 1. |
Difference between cellpadding and cellspacing. |
|
Answer» 1) Cellpadding is used to specify the distance between a cell contents and its boundaries.Cellpadding is an importent formating feature of web document.cellpadding used to specify the space between edges ofthe cells it also used in cell contents.its default value is zero.Cellpadding controls the amount of space between the contents of the cell (text, images, etc) from the cell wall (border).2) Cellspacing is an important attribute of property which increases the space between the cells of the table. you can see that Cellspacing increases the border of the table.its default value is zero.Cell spacing is one also used f formatting. there is a major difference between cellpadding and cell spacing.It is asfollows: Cellpadding is used to set extra space which is used to separate cell walls from their contents.But in contrast cellspacingis used to set space between cells. Cellpadding is the space between the cell border and cell content while cellspacing is the space between two cells. |
|