CSS - page


Description

The page property is used to invoke a page selector which has been previously defined using @page.

Possible Values

  • <page selector> − Any previously defined page selector using @page.

  • auto − The browser should format the page according to its defaults.

Applies to

All the block level elements.

Example

Here is the example −

<style type="text/css">
   <!--
      @page wide { size : portrait }
      @page rotated { size : landscape }
      table { page : rotated }
   -->
</style>

For more detail please look into CSS Paged Media.

Advertisements