This property is used to specify a specific page type to use when displaying an element box. If the value specified is different than the one for the rendered element box that precedes it, one or two page breaks should be inserted between them, and the element box should then be rendered on a page box of the indicated type.

@page doublepage { size: 8.5in 11in; page-break-after: left } body { page: doublepage; page-break-after: right } text in the body
Possible Values
auto: References the current default page.
[identifier]: Specifies an identifier for a page type defined in an @page rule.

Go Back