addPageRule
Summary
Not implemented anywhere. Non standard.
Method of css/cssom/styleSheetcss/cssom/styleSheet
Syntax
var number = stylesheet.addPageRule(/* see parameter list */);
Parameters
selector
- Data-type
- String
A page selector.
style
- Data-type
- String
This style takes the same form as an inline style specification. For example, "color:blue
" is a valid style parameter.
index
- Data-type
- Number
The zero-based position in the pages collection where the new page object should be placed.
Return Value
Returns an object of type NumberNumber
Always returns -1.
Notes
Each page object represents a style sheet that corresponds to a @page rule in the document.
See also
Related pages
- styleSheetstyleSheet
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]