The pageBreakInside
property sets or gets
the page-break behavior inside an element for printing or print preview.
pageBreakInside |
Yes | Yes | Yes | Yes | Yes |
Return the pageBreakInside property:
var v = object.style.pageBreakInside;
Set the pageBreakInside property:
object.style.pageBreakInside='auto|avoid|initial|inherit'
Value | Description |
---|---|
auto | Insert a page break inside the element if necessary. This is default |
avoid | Do not insert a page break inside an element |
initial | Set to default value |
inherit | Inherit from parent element. |
Default Value: | auto |
---|---|
Return Value: | A string representing the page-break behavior inside an element when printing |
CSS Version | CSS2 |