page-break-inside
Limited availability97% of usersDeprecated
A legacy property used to prevent a page break from occurring inside an element when printing (for example, to keep an image and its caption on the same page).
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- block elements in normal flow
- Animation type
- discrete
Quick example
figure {
/* Prevents a figure (image+caption) from being split across two pages when printing */
page-break-inside: avoid;
}Values
autoavoidpage-break-inside browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage97%of people can use this3% use a browser without it.
Browsers
1+
19+
1.3+
12+Mobile
18+Android
19+Android
1+iOS