O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

break-inside

Values:

auto | avoid | avoid-page | avoid-column

Initial value:

auto

Applies to:

Block-level elements

Inherited:

No

Computed value:

Same as declared value

Description:

Defines whether a column or page break should be avoided within the element. Note that such avoidance may not be possible; for example, declaring body {break-inside: avoid-page;} for a lengthy document will not prevent the insertion of page breaks by the user agent.

Examples:

table {break-inside: avoid;}
ul {break-inside: avoid-column;}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required