'cellSpacing' Syntax and Note : cellSpacing « Javascript Properties « JavaScript Reference

'cellSpacing' Syntax and Note

Note:

Read and write property. 
Set the space between adjacent cells. 

Value: 
An integer         the amount of padding in pixels
integer%           the percent of space between the cell  
                   wall plus padding and its content
    
Syntax:
    
document.getElementById("tableID").cellSpacing = value
document.all.tableID.cellSpacing = value // IE only

    

      
      








Related examples in the same category

1.'cellSpacing' Example
2.'cellSpacing' is applied to