
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Printing |
| Previous Style: ruby-position
| Next Style: speak
|
size
Defines the size or orientation of the page on which the element is to be printed.
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
See Also:
-
page
Possible Values:
- auto
The default page size is used.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- landscape
The page uses the landscape orientation.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- [length]
The specific width and height of the page.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
-
Notes:
-
If you enter only one value, the result is a square page.
- portrait
The page uses the portrait orientation.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
Example:
<STYLE TYPE="text/css">
<!--
@page legal {size: 8.5in 14in}
body {page: legal}
-->
</STYLE>
| Index
| Current Category: Printing |
| Previous Style: ruby-position
| Next Style: speak
|
|