Javascript Reference
Categories: styleElement

javascript styleElement styleSheet

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

Read-only  

Returns a styleSheet object representing the style sheet defined by the style element. This is property is present, but doesn't seem to be officially supported. The document.styleSheets collection is a better approach.

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

Reference to a styleSheet object.

 
Default

None.


Powered by Linode.