Javascript Reference
Categories: currentStyle

javascript currentStyle Description

@May 24, 2008, 5:06 a.m.
currentStyle Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

 

  

The currentStyle object (a property of all HTML element objects in IE 5 and later for Windows) provides read-only access to the effective (cascaded) style properties applied to the current element, including properties influenced by linked, imported, and explicit style sheet settings. This object is a property of all renderable HTML element objects and stands in contrast to an element's style object, which reports, and allows modification of, style sheet properties explicitly assigned to the inline style attribute.

 
Object Model Reference
 
[window.]document.getElementById("elementID").currentStyle
 
Object-Specific Properties

See the style object.

 
Object-Specific Methods

See the style object.

 
Object-Specific Event Handler Properties

None.


Powered by Linode.