Javascript Reference
Categories: STYLE

javascript STYLE borderSpacing

@Aug. 15, 2009, 12:43 p.m.
borderSpacing Firefox/Netscape/NN 6 IE 5 Chrome/Safari/DOM 2  

 

Read/Write  

Controls the spacing between table cells when the table is in (the default) separate borders mode, similar to a table object's cellSpacing property. IE 5 for the Macintosh doesn't respond to changes of this property's value. Available in IE as a property of the style object only.

 
Example
 
document.getElementById("myTable").style.borderSpacing= "12px";
 
Value

CSS length value as a string

 
Default

None.


Powered by Linode.