Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
Website builder

CSS size

Also see the full, alphabetical list of CSS properties


The CSS size property is used in paged media to specify the size of the page.

Syntax: size: <value>
Possible Values:
  • auto
  • <length>
  • portrait
  • landscape
  • inherit
Initial Value: auto
Applies to: Paged media (and paged context - for example, print preview screens)
Inherited: Yes
Media: Visual, paged
Example: @page { size: landscape;}
or
@page { size: 11in 8.5in;}

Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!