Javascript Reference
Objects > styleSheet
javascript styleSheet removeRule( )
Removes a rule from the styleSheet object. The integer index parameter value points to the zero-based item in the rules array to delete.
javascript styleSheet insertRule( )
Adds a new rule for a style sheet. This method offers a scripted way of adding a rule to an existing W3C DOM styleSheet object: document.sty
javascript styleSheet deleteRule( )
Removes a rule from the styleSheet object. The integer index parameter value points to the zero-based item in the cssRules array to delete. Note
javascript styleSheet addRule( )
Adds a new rule for a style sheet. This method offers a scripted way of adding a rule to an existing styleSheet object: document.styleSheets[
javascript styleSheet addImport( )
Adds an external style sheet specification to a styleSheet object.
javascript styleSheet type
Returns the style sheet MIME type specified by the type attribute of the style or link element.
javascript styleSheet title
Exposes the title attribute of the style or link element that owns the current styleSheet object. Since the attribute does not affect user
javascript styleSheet rules[ ]
Returns a collection of rule objects nested within the current styleSheet object. The W3C DOM equivalent (implemented in Netscape 6 and IE 5/Mac
javascript styleSheet readOnly
Specifies whether the style sheet can be modified under script control. Style sheets imported through a link element or an @import rule cannot b
javascript styleSheet parentStyleSheet
For a styleSheet object generated by virtue of inclusion with an @page rule, the parentStyleSheet property returns a reference to the styleS
javascript styleSheet pages[ ]
Returns a collection (array) of page objects ( @page rules) nested within a styleSheet object. For Netscape 6, you must loop through all cssR
javascript styleSheet owningElement
Returns a reference to the style or link element object that defines the current styleSheet object. Each document maintains a collection of s
javascript styleSheet ownerRule
For a styleSheet object brought into the document via an @import rule, returns a reference to that @import rule object (a W3C DOM CSSImportR
javascript styleSheet ownerNode
Returns a reference to the document tree node that contains the styleSheet object. This node is either a style or link element, depending on
javascript styleSheet media
Specifies the intended output device for the content governed by the style sheet (reflecting the media attribute of the link and style element
1-15 / 21 >

Powered by Linode.