Stats

56 Contributors: 5 Saturday, July 8, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Fragmentation

Syntax

  • page-break-after: auto | always | avoid | left | right | initial | inherit;
  • page-break-before: auto | always | avoid | left | right | initial | inherit;
  • page-break-inside: auto | avoid | initial | inherit;

Parameters

ValueDescription
autoDefault. Automatic page breaks
alwaysAlways insert a page break
avoidAvoid page break (if possible)
leftInsert page breaks so that the next page is formatted as a left page
rightInsert page breaks so that the next page is formatted as a right page
initialSets this property to its default value.
inheritInherits this property from its parent element.

Remarks

There is no page-break property in CSS. Only the 3 properties (page-break-before, page-break-after, page-break-inside).

Related: orphans, widows.

Related Examples