css| Reference | print | pagination | control
PageBreak: Forces the page to be changed before and after the style control when printing.
Before: The page break that appears before the object is set. When set to always, the page delimiter is always inserted before the object. The corresponding CSS property is "Page-break-before".
After: The page delimiter that appears after the object is set. When set to always, the page delimiter is always inserted after the object. The corresponding CSS property is "' >.
With Page-break-after
Page-break-after version: CSS2 Compatibility: ie4+ inheritance: None
Grammar:
Page-break-after:auto | Always | Avoid | Left | Right | Null
Take value:
Auto: If you need to insert a page break after the object
Always: always inserts a page break after the object
Avoid: not supported. Avoid inserting a page break after an object
Left: not supported. Insert a page break after the object until it reaches a blank left margin
Right: not supported. Insert a page break after the object until it reaches a blank right margin
Null: a blank string. Remove Page break settings
Description
Retrieves or sets the page delimiter that appears after the object.
This property is useful when printing a document. This property is not used for BR or HR objects.
If a conflict occurs between the value of this property and the Page-break-before property on an object that is already displayed by the browser, the maximum number of paged values is used.
Page delimiters are not allowed to appear inside the anchored object.
In IE6 and previous versions of browsers, the left and right values are equivalent to always.
This property is read-only for Currentstyle objects. is writable for other objects.
The corresponding script attribute is pagebreakafter.
Example:
p {page-break-after:always;}