Paged Media

  • Revision slug: CSS/Paged_Media
  • Revision title: Paged Media
  • Revision id: 385963
  • Created:
  • Creator: justingeeslin
  • Is current revision? No
  • Comment Fixing a link to the @page selector

Revision Content

Paged media properties control the presentation of content for print or any other media that splits content into discrete pages. It allows you to set page breaks, control printable area, style left and right pages differently, and control breaks inside elements. Popularly supported properties include

  • {{ cssxref("page-break-before") }}
  • {{ cssxref("page-break-after") }}
  • {{ cssxref("page-break-inside") }}
  • {{ cssxref("orphans") }}
  • {{ cssxref("widows") }}
  • {{ cssxref("@page") }}

Revision Source

<p>Paged media properties control the presentation of content for print or any other media that splits content into discrete pages. It allows you to set page breaks, control printable area, style left and right pages differently, and control breaks inside elements. Popularly supported properties include</p>
<ul>
  <li>{{ cssxref("page-break-before") }}</li>
  <li>{{ cssxref("page-break-after") }}</li>
  <li>{{ cssxref("page-break-inside") }}</li>
  <li>{{ cssxref("orphans") }}</li>
  <li>{{ cssxref("widows") }}</li>
  <li>{{ cssxref("@page") }}</li>
</ul>
Revert to this revision