HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties


This property specifies the size and orientation of a page box for printing. The size may either be "absolute" (fixed size) or "relative" (scalable, i.e., fitting available sheet sizes). Relative values include landscape and portrait. The default value is auto.


@page {size: landscape;}
@page {size: 6in 10in;}
/* funny width and height */

Browser and CSS Support Notes

No IE support but similar proprietary facilities available.
Nav 6, 7
Opera 7

(X)HTML Elements
CSS Properties
Back: right Next: table-layout
< Home | About | Chapters | Examples | Errata | Reference | Site Map >