cellSpacing attribute (table)
Sets the amount of space between the border of the cells in a table.
Use the cellPadding attribute if you want to set the space between the border and contents of the cell.
Sets the amount of space between cells.
One of the following values:
|Integer with or without a px (pixel) designator.|
|Integer higher than or equal to 0 , with a % designator.|
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the cellSpacing attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments