CSS pagination
Page-break-before: Auto|Always|Avoid|Left|Right|Null
Parameters:
Auto:If you want to insert a page delimiter before the object
Always:Always insert a page delimiter before the object
Avoid:Avoid inserting page delimiters before objects
Left:Insert a page delimiter in front of the object until it reaches the left edge of a blank page.
Right:Insert a page delimiter before the object until it reaches a blank right page.
Null:Null Value. Ie5 is used to Cancel Page delimiter settings
Page-break-after: Auto|Always|Avoid|Left|Right|Null
Parameters:
Auto:If you need to insert a page delimiter after the object
Always:Always insert a page delimiter after the object
Avoid:Avoid inserting page delimiters behind objects
Left:Insert a page delimiter after the object until it reaches the left edge of a blank page.
Right:Insert a page delimiter after the object until it reaches a blank right page.
Null:Null Value. Ie5 is used to Cancel Page delimiter settings
Note:
Retrieves or sets the page delimiter that appears before an object.
Ie5 only supports the always and blank values (Null).
In ie4, this attribute does not act on the BR object, but ie5 does.
Corresponding script features:Pagebreakbefore. For more information, see my other bibliography.
Example:
P {page-break-after: Always ;}
Use in IE6
Style = "Page-break-before: Always"
You can print pages.
IE7 does not work. This CSS does not work.
Add this CSS.
<! -- [If IE 7]> <br style = "height: 0; line-Height: 0"> <! [Endif] -->
All CSS
<Div style = "Page-break-before: Always;">
<! -- [If IE 7]> <br style = "height: 0; line-Height: 0"> <! [Endif] --> or] <br style = "height: 0; line-Height: 0">
</Div>