Javascript Reference
Categories: STYLE

javascript STYLE getPropertyCSSValue( )

@June 1, 2008, 3 p.m.
getPropertyCSSValue( ) Firefox/Netscape/NN n/a IE n/a Chrome/Safari/DOM 2  

getPropertyCSSValue("CSSAttributeName")

  

Returns an object that represents a CSS value. In the W3C DOM, the CSSValue object returned from this method has properties that reveal the text of the attribute/value pair and a numeric value corresponding to a long list of primitive value types (indicating types such as percentage, pixel lengths, and RGB color). Although this method is implemented in Netscape 6, it returns an empty object for now.

 
Parameters
 
  • The CSS attribute name from an inline style declaration (not the DOM version of the property name).
 
Returned Value

Reference to a CSSValue object.


Powered by Linode.