CSS/Properties/page-break-before

From W3C Wiki
< CSS‎ | Properties
Revision as of 18:14, 16 June 2011 by Hiroki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

page-break-before

The page-break-before property sets page breaks before an element.

Description

Values auto | always | avoid | left | right | inherit
Initial value auto
Applies to block-level elements (but see text)
Inherited No


Values

  • auto
    Neither force nor forbid a page break before the generated box.


  • always
    Always force a page break before the generated box.


  • avoid
    Avoid a page break before the generated box.


  • left
    Force one or two page breaks before the generated box so that the next page is formatted as a left page.


  • right
    Force one or two page breaks before the generated box so that the next page is formatted as a right page.


  • inherit
    Takes the same specified value as the property for the element's parent.


CSS Reference

The CSS specification defines the page-break-before property in 13.3.1 Page break properties.