CSS/Properties/page-break-inside

From Web Education Community Group
Jump to: navigation, search

page-break-inside

The page-break-inside property sets page breaks after an element.

Description

Values auto | avoid | inherit
Initial value auto
Applies to block-level elements (but see text)
Inherited No


Values

  • auto
    Neither force nor forbid a page break inside the generated box.


  • avoid
    Avoid a page break inside the generated box.


  • inherit
    Takes the same specified value as the property for the element's parent.


CSS Reference

The CSS specification defines the page-break-inside property in 13.3.1 Page break properties.