TABLE.cellPadding (Property)

The width of the cell padding around the cell contents within a table.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myTABLE.cellPadding

The cell padding describes the space allowed inside the cell but around the cell content. The table grows larger but the border thicknesses stay the same. The growth takes place inside the cells.