The CSS reference
"page-break-inside" - css property (v. css 2)
- Indicates the page-breaking behavior inside an element
- Initial value: auto
- The property is not inherited
- HTML usage: block-level elements
-
Browsers that support the page-break-inside - property :
Browser deviation:- Firefox do not support this property.
Possible page-break-inside values:
value | Comments | CSS |
---|---|---|
auto | Neither force nor forbid a page break inside the generated box. . | 2 |
avoid | Avoid a page break inside the generated box. | 2 |
inherit | Will inherit the value from parent specification. | 2 |
Javascript access:
// To SET values ([o] is the target object)
[o].style.pageBreakInside="page-break-inside value"
// To GET values you must first get the computed style object
// To get that object in IE or Opera:
var cStyle=[o].currentStyle;
// To get that object in Firefox, Chrome or Safari (w3c-type):
var cStyle=window.getComputedStyle([o],null)
// To GET the property value:;
var value=cStyle.pageBreakInside;
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.