Javascript Reference
Objects > styleSheet
javascript styleSheet type
Returns the style sheet MIME type specified by the type attribute of the style or link element.
javascript styleSheet addImport( )
Adds an external style sheet specification to a styleSheet object.
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 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 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 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.
< 16-21 / 21

Powered by Linode.