Help Center

Local Navigation

Object: CSSImportRule

Availability

BlackBerry® Device Software version 4.6 or later

Extends

CSSRule

The CSSImportRule interface represents an @import rule within a CSS style sheet. The @import rule is used to import style rules from other style sheets.

CSSImportRule properties

Property name

Type

Description

Status

Availability

href

String

Returns the location of the style sheet to be imported. The attribute does not contain the “url(...)” specifier around the URI.

read only

4.6 or later

media

MediaList

Returns a list of media types that this style sheet can be used with.

read only

4.6 or later

styleSheet

CSSStyleSheet

Returns a pointer to the CSSStyleSheet object that represents the imported style sheet.

read only

4.6 or later


Was this information helpful? Send us your comments.