CSS style rule in a CSS style sheet.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | no | 1.0+ | no | 9.0+ | 1.0+ | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
CSS style rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+ | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Specifies the name of the CSS selector that the rule applies to. | 5.0+ | 1.0+ | no | 9.0+ | 1.0+ | no |
Style values for the CSS selector. | no | 1.0+ | no | 9.0+ | 1.0+ | no |
References
Availability
HTML DOM Level 2 | W3C
Constructor Detail
Property Detail
String selectorText
Specifies the name of the CSS selector that the rule applies to.
-
For examples, see the quirksmode test page:
- Availability
HTML DOM Level 2 | W3C
CSSStyleDeclaration style - read only
Style values for the CSS selector.
-
For examples, see the quirksmode test page:
- Availability
HTML DOM Level 2 | W3C
