Web | This Site

CSS Home
CSS Reference
Pseudo Classes & Elements
© 2011 TutorialsPoint.COM

| Home |  | References |  | Discussion Forums |  | About TP

# CSS - size

## Description:

The size property specifies the size and orientation of a page box.

## Possible Values:

- length: Sets the physical size of the page box.
- auto: The page box is sized to fit the display medium.
- portrait: Sets the page box to the same size as the display sheet, but the longer measure is forced to be the vertical axis.
- landscape: Sets the page box to the same size as the display sheet, but the longer measure is forced to be the horizontal axis.

## Applies to:

Page Context

## Example:

Here is the example:

    <style tyle="text/css">
    <!--
    @page legal {size: 8.5in 14in;}
    @page {size: landscape;}
    -->
    </style>

For more detail please look into CSS Paged Media.

Advertisement

Online Image Processing

Indian Baby Names