Javascript Reference
Categories: styleElement

javascript styleElement sheet

@March 15, 2008, 1:22 a.m.
sheetFirefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  

Read-only  

Returns a styleSheet object (W3C DOM type CSSStyleSheet) representing the style sheet defined by the style element. This is an alternate (and nonstandard) way to reference a styleSheet object. The document.styleSheets collection is a better approach.

 
Example
 
var oneSheet = document.getElementById("myStyle").sheet;
 
Value

Reference to a styleSheet object (W3C DOM type CSSStyleSheet).

 
Default

None.


Powered by Linode.