size

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

Platform Support

IENetscapeMozillaOperaSafari
no6.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.
autoPage size to be determined by window or user settings.
portraitPortrait layout on the page.
landscapeLandscape 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

text_css aptana_docs