Represents an import 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 |
|---|---|---|---|---|---|---|
Represents an import rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+ | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
URL of the imported CSS style sheet. | 5.0+ | 1.0+ | no | 9.0+ | 1.0+ | no |
Media types that the imported CSS style sheet applies to. | no | 1.0+ | no | 9.0+ | 1.0+ | no |
CSSStyleSheet object that represents the imported CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+ | no |
Availability
HTML DOM Level 2 | W3C
Constructor Detail
Property Detail
String href - read only
URL of the imported CSS style sheet.
-
For examples, see the quirksmode test page:
- Availability
HTML DOM Level 2 | W3C
MediaList media - read only
Media types that the imported CSS style sheet applies to.
- Availability
HTML DOM Level 2 | W3C
CSSStyleSheet styleSheet - read only
CSSStyleSheet object that represents the imported CSS style sheet.
- Availability
HTML DOM Level 2 | W3C
