layout · editorial · web-platform
Page break
also called CSS fragmentation (mdn), fragmentainer (css), break-inside (css), break-before (css)
Where content is cut to continue in the next fragment, a printed page, a column or a region, plus the rules that decide where the cut may fall.
Most layout assumes one continuous surface. Printing does not, and neither does a
multi column article or a paged region: the content has to be cut into fragments and
each fragment poured into a box of its own. CSS calls each of those boxes a
fragmentainer, and calls the whole business fragmentation. A page break is the cut
itself, and the properties around it are the only say an author gets in where it lands:
break-before and break-after force or forbid a break at a given element, and
break-inside says whether an element may be split at all.
The default is that the cut falls wherever the page happens to run out, which is fine
for continuous prose and terrible for anything with a shape. A figure sliced through the
middle prints as two unrelated grey bands. A table loses its header on the second page.
A heading that lands as the last line of a page introduces text the reader cannot see
yet, so break-after: avoid on headings, sometimes called keep with next, is the single
rule with the best return. The cost is honest and worth stating: refusing a break means
the block moves to the next page whole, and the page it left ends early with visible
empty space. There is no setting that gives you both.
The related words describe the damage rather than the control. A widow is the
last line of a paragraph pushed alone onto the next fragment and an
orphan is the first line left behind alone on the previous one; both are
things a bad break leaves behind, while a page break is the break itself. The same
machinery runs your text columns: a column box is a fragmentainer like a
page is, so break-inside: avoid on a card keeps it from being sawn in half by a column
edge, and the properties are spelled identically because they are the same properties.
Two practical notes. First, the older page-break-before and page-break-after
properties are aliases kept for compatibility, and new work should use the unprefixed
break-* family, which covers pages, columns and regions in one vocabulary. Second, none
of this is visible until someone prints, so it rots quietly. If a document view matters
to your product, put a print stylesheet in the same review as the screen one, and open
the print preview at least as often as you open the browser at a narrow width.
Which word?
| If you want | say |
|---|---|
| controlling where printed or column content splits | page break |
Related
See also: CMYK · Text columns · Orphan