+ 4
what does "cellspadding" and "cellspacing" mean?! can anyone make table use them pls 😊
6 Respuestas
+ 1
Cell padding
is used for formatting purpose which is used to specify the space needed between the edges of the cells and also in the cell contents. The general format of specifying cell padding is as follows:
< table width="100" border="2" cellpadding="5">
The above adds 5 pixels of padding inside each cell .
Cell Spacing:
Cell spacing is one also used f formatting but there is a major difference between cell padding and cell spacing. It is as follows: Cell padding is used to set extra space which is used to separate cell walls from their contents. But in contrast cell spacing is used to set space between cells.
+ 7
Amit Kumar Rana thanks bro 👍💚😉
it is an old question (2 years ago ) 😂👍
+ 2
Think of cell padding as adding margins inside the cell. Whereas cell spacing is the gaps between cells in a table
+ 1
cellpadding is the space between cell "conte
nt" and its border. cellspacing is the space between cells.
+ 1
thanks a lot 😊
can anyone give me a table use them ( i mean the code )
+ 1
but I got it and seen it.