javascript styleSheet Description

styleSheetNN 6 IE 4 DOM 2  

  

The styleSheet object represents a style sheet that may have been created as a style element or imported with a link element or @import statement inside a style element. This object is different from the style element object, which strictly reflects the style HTML element and its attributes. The document.styleSheets[ ] collection contains zero or more styleSheet objects. The shared disabled property is available in all supporting browsers, facilitating the enabling and disabling of entire style sheets with simple Boolean assignments.

 
Object Model Reference
 
[window.]document.styleSheets[i]
 
Object-Specific Properties
 
cssRules[ ]cssTexthrefimports[ ]media
ownerNodeownerRuleowningElementpages[ ]parentStyleSheet
readOnlyrules[ ]titletype
 
Object-Specific Methods
 
addImport( )addRule( )deleteRule( )insertRule( )removeRule( )
 
Object-Specific Event Handler Properties

None.


1946,Nickname,Homepage or email,Comments here,Add comment