CSSImportRule : CSSRule

Represents an import rule in a CSS style sheet.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
no1.0+no9.0+1.0+no

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
Represents an import rule in a CSS style sheet.
no1.0+no9.0+1.0+no
 

Properties

PropertyIEMozillaNetscapeOperaSafariNetscapte
URL of the imported CSS style sheet.
5.0+1.0+no9.0+1.0+no
 
Media types that the imported CSS style sheet applies to.
no1.0+no9.0+1.0+no
 
CSSStyleSheet object that represents the imported CSS style sheet.
no1.0+no9.0+1.0+no
 

Availability

HTML DOM Level 2 | W3C

Constructor Detail

CSSImportRule CSSImportRule()

Represents an import rule in a CSS style sheet.

Visibility
internal

Property Detail

String href - read only

URL of the imported CSS style sheet.

For examples, see the quirksmode test page:

http://www.quirksmode.org/dom/tests/stylesheets.html

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