Javascript Reference
Categories: STYLE

javascript STYLE outlineWidth

@Aug. 15, 2009, 12:32 p.m.
outlineWidth Firefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

 

Read/Write  

Controls the thickness of the outline lines.

 
Example
 
document.getElementById("announce").style.outlineWidth = "2px";
 
Value

Three case-insensitive constantsthin | medium | thickallow the browser to define exactly how many pixels are used to show the border. For more precision, you can also assign a length value.

 
Default

medium


Powered by Linode.