2.5.2.2 addPageRule
addPageRule()
Used to add @page rule to the related CSSStyleSheet object. See StyleSheetPage in section 2.4. This method is not implemented in either Windows Internet Explorer 7 or Windows Internet Explorer 8.
Parameters
sSelectorof type DOMString
String that specifies the selector (name) for the new @page object.
sStyleof type DOMString
String that specifies the CSS rule assignments for this @page object.
iIndexof type long
Optional. Ordinal index that specifies the requested position of the object in the collection. If this value is not supplied, or if the value is larger than the number of items in the collection, the @page rule is added to the end of the collection.
Return Value
-1 Reserved. Always returns -1.
No Error