/

HTML / CSS / JavaScript Tutorial

CSS Property: page-break-inside

[this page | pdf | back links]

The CSS (CSS2) page-break-inside property specifies whether a page break is allowed inside an element. It cannot be used on absolutely positioned elements.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

auto

(default value). Page breaking defined automatically

avoid

Where possible avoids a page break inside the element

 

Default Value:

auto

JavaScript syntax:

e.g. object.style.pageBreakInside="avoid"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile