B.82. page-break-after

When printing a Web page, the browser simply places page breaks where they need to occur in the content so that all printed pages are as full as possible by default. This property affords you greater control over the placement of page breaks during printing, by letting you manually add or suppress a page break after a given element.

Inherited: No

See also: Section B.72orphans, Section B.83page-break-before, Section B.84page-break-inside, Section B.125widows

B.82.1. Value

This property can take any of the following values:

always

The browser will always put a page break after the selected element(s).

avoid

The browser will try to avoid placing a page break after the selected element(s).

The practical effect of this ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.