Help Center

Local Navigation

Object: CSSPageRule

Availability

BlackBerry® Device Software version 4.6 or later

Extends

CSSRule

The CSSPageRule interface represents a @page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, for paged media.

CSSPageRule properties

Property name

Type

Description

Status

Support level

Availability

selectorText

DOMString

Specifies the page selector for the rule.

writable

DOM 2 Style

4.6 or later

style

CSSStyleDeclaration

Returns the declaration block of the rule.

read only

DOM 2 Style

4.6 or later

Previous topic: CSSMediaRule methods

Was this information helpful? Send us your comments.