CSS - page


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.


Here is the example −

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

For more detail please look into CSS Paged Media.