This property, which can appear only within a @page at-rule (see Section A.1) lets you control the page size and/or orientation as needed.
This property can take a number of constants, or specific page measurements.
Supported constants are:
auto
landscape
portrait
auto tells the browser to use a page size/orientation equal to the printer settings, while landscape and portrait force the browser to rotate the page as necessary to print in the specified orientation on the printer's paper size.
Alternatively, you can specify an exact page size with either one or two CSS length values (separated by spaces). If only one value is specified, it is used as both the width and height; otherwise, the first value is the page width and the second is the page height.
Initial value: auto
CSS Version: 2
Not supported any current browser.
This style rule specifies that the page should be printed in landscape orientation on a Letter-sized (8.5 by 11 inch) page:
@page { size: 11in 8.5in; }
18.221.85.33