CSSStyleSheet

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

readonly CSSRuleList cssRules

boolean disabled

readonly String href

readonly MediaList media

readonly Node ownerNode

readonly CSSRule ownerRule

The nsIDOMCSSStyleSheet interface is a datatype for a CSS style sheet in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style

readonly StyleSheet parentStyleSheet

readonly String title

readonly String type

The nsIDOMStyleSheet interface is a datatype for a style sheet in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style


Methods

void deleteRule ( int index ) int insertRule ( String rule , int index )

void deleteRule ( int index )

Arguments:
index

int insertRule ( String rule , int index )

Arguments:
rule
index

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com