page-break-inside

Deprecated

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).

Quick example

figure {
  /* Prevents a figure (image+caption) from being split across two pages when printing */
  page-break-inside: avoid;
}

Quick facts

Initial value
auto
Inherited
No
Applies to
block elements in normal flow
Animation type
discrete

Values

autoavoid

page-break-inside Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

1+
19+
1.3+
12+
ESC