page-break-after
Summary
The page-break-after property is supported in all major browsers. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
Overview table
- Applies to
- All elements
- Inherited
- No
- Media
- visual
- Animatable
- No
Syntax
page-break-after: always
page-break-after: auto
page-break-after: avoid
page-break-after: empty string
page-break-after: inherit
page-break-after: left
page-break-after: right
Values
- auto
- Default. Insert a page break after the element if necessary
- always
- Insert a page break after the element
- avoid
- Avoid inserting a page break after the element
- empty string
- Behaves the same as auto.
- left
- Insert page breaks after the element until it reaches a blank left page
- right
- Insert page breaks after the element until it reaches a blank right page
- inherit
- Specifies that the value of the page-break-after property should be inherited from the parent element
Related specifications
- CSS Fragmentation Module Level 3, 3.3. Page Break Aliases: the ‘page-break-before’, ‘page-break-after’, and ‘page-break-inside’ properties
- W3C Working Draft
- CSS Paged Media Module Level 3, 9. Page Breaks
- W3C Working Draft
- CSS Level 2 (Revision 1), 13.3.1 Page break properties: 'page-break-before’, 'page-break-after’, ‘page-break-inside’
- W3C Recommendation
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]