Web Printing is often limited. If it is difficult to implement paging printing control without external force, I finally found a better method to control paging printing, the detailed usage of page-break-after using CSS is as follows:
Syntax:
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:
The page delimiter that appears after the object is retrieved or set.
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:Pagebreakafter. For more information, see my other bibliography.
Example:
P {page-break-after: Always ;}