StyleSheet.removeRule() (Method)

An accessor for removing rules belonging to a style sheet's rules collection.


JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyStyleSheet.removeRule(anIndex)
Argument list:anIndexThe index number of the rule to be removed

If you used the addRule() method to create new rules, then this method operates as a complementary tool to remove rules from the style sheet.

See also:StyleSheet.addRule()