HTML CSS Reference/CSS Attributes and Javascript Style Properties/page break inside
Содержание
"page-break-inside" Example
<source lang="html4strict">
<html> <body>
When printing, there will be a page-break inside this object.
</body> </html>
</source>
"page-break-inside" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+
| Applied_To |<body> || |<button>
| | | currentStyle | | |
<dir> | | | |
| |
- <fieldset> | | |<form> <hn> | | |<isindex>
- | | |<listing> <marquee> | | |<menu>
| | |
| | |runtimeStyle style | | |<tbody> | | |<tfoot>
| | |<thead> | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>
"page-break-inside" Possible Values
<source lang="html4strict"> Possible Values always always inserted after/before the element. auto forced or avoided before/after/inside the element. avoid avoided before/after/inside the element. "" A page break is not inserted.(empty string)
</source>
"page-break-inside" Syntax and Note
<source lang="html4strict"> Note: Add a page break inside the element. Page breaks are not permitted inside positioned objects. Syntax:
element { page-break-inside: value } elementID.style.pageBreakBefore = "value" document.all.elementID.style.pageBreakInside = "value" // IE only
</source>