HTML and CSS Reference
In-Depth Information
Name
page
Values:
auto
| <identifier>
Initial value:
auto
Applies to:
Block-level elements
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines the page type that shouldbe used when displaying the element. The emphasis of the
word “should” is taken directly from the specification, so author beware.
The intended effect is that if an element has a value of
page
that is different than that of the
preceding element, at least one page break is inserted before the element and a new page star-
ted using the page type declared by
page
. (Multiple page breaks may be used if other styles
call for using a right- or left-hand page when starting the new page.)
Examples:
@page wide {size: landscape;}
table.summary {page: wide;}