style.cellSpacing (Property)

Defines the cell spacing of items in a table.


CSS level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.cellSpacing
CSS syntax:cell-spacing: aValue
Argument list:aValueA spacing value

This property is intended to provide control over the cell spacing for tables. The property is able to accept one or two length values specified in the normal measurement units.

If you specify just one value it is used for both horizontal and vertical cell spacing. If you specify both values, the horizontal is taken to be first and the vertical spacing uses the second.

Assigning the none keyword to the property resets the cell spacing to the browser default value.


See also:Measurement units, TABLE object