• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Paged Media > size Property

18.1. size Property

The size property is designed to set the orientation and size of the printed page box. With this property, Web authors can precisely control the dimensions for the printed output of their Web pages, and can even set whether or not the pages should be printed in portrait (the default) or landscape mode.

The size property can take any of the following values: a twin set of numeric values that set the width and height of the page, respectively, and auto, which sets the page box to the size and orientation of the target paper size. There are also two orientation values: portrait, the default, which prints the content so it flows down the long side of the page, and landscape, which flows the content along the short side of the page. Figure 18-1 makes the distinction between portrait and landscape orientation clear.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint