Can I Use Page Break After

Neither force nor forbid a page break after the element that page-break-after is applied to. Always force a page break after the element. Avoid a page break after the element. Force one or two page breaks after the element so that the next page is formatted as a left page.

What is page-break after?

The page-break-after property indicates whether (and how many) page breaks should be allowed after an element’s box. … This decision will also be affected by the value of page-break-before for a following element, and the value of page-break-inside for any ancestor elements.

How do you insert a page-break after HTML?

It’s done via CSS (inline or in a stylesheet) by adding ‘page-break-after: always’ to a paragraph at the bottom of your page (above where you intend to break). Optionally, you may need to also add ‘page-break-before:always’ to the paragraph or heading (or other block level element) at the top of the next page.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest