Javascript Reference
Categories: STYLE

javascript STYLE outline

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

 

Read/Write  

This is a shorthand property for getting or setting the outlineColor, outlineStyle, and/or outlineWidth properties of an outline around an element in one statement. You must specify an outline style (see outlineStyle) for changes of this property to affect the display. An outline is like a border, but overlays the element without occupying any content space or affecting the element's dimensions. Although this property is a member of the style object in IE 5/Mac and Netscape 6, only IE 5/Mac renders the outline.

 
Value

Space-delimited string. For the outlineStyle and outlineWidth component values, see the respective properties. For details on the outlineColor value..

 
Default

None.


Powered by Linode.