Javascript Reference
Categories: OBJECT

javascript OBJECT border

@March 15, 2008, 1:22 a.m.
borderFirefox/Netscape/NN 6 IE 6(Win) Chrome/Safari/DOM 1  

Read/Write  

Controls the thickness of the border in pixels. For cross-browser compatibility use string values.

 
Example
 
document.getElementById("myObject").border = "5";
 
Value

Number as string.

 
Default

0


Powered by Linode.