Change Language


Follow Navioo On Twitter

size

Specifies the size and orientation of a page for print output.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
no 6.0+ 1.0+ 7.0+ no

Usage

[width] [height] [size-value]. Example values: 8.5in 10in portrait, 14 in 10 in, landscape, etc.

Values

* Specify a value for size that is not on this list.
auto Page size to be determined by window or user settings.
portrait Portrait layout on the page.
landscape Landscape layout on the page.

Example

To specify an 10x8 inch page that prints as landscape, use the following syntax: body {size: landscape 10in 8in;}.

Availability

W3C CSS2

Related

Examples -> Source code Demo online - > size:

Ajax Javascript feed

↑ Grab this Headline Animator