deleteRule
Summary
Deletes a CSS rule from the style sheet.
Method of css/cssom/styleSheetcss/cssom/styleSheet
Syntax
stylesheet.deleteRule(index);
Parameters
index
- Data-type
- Number
The index within the rule list for the style sheet of the rule to remove.
Return Value
No return value
Related specifications
- DOM Level 2 Style
- Recommendation
See also
Related pages
- styleSheetstyleSheet
Reference
- cssRulescssRules
- insertRuleinsertRule
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]