HTML and CSS Reference
In-Depth Information
Name
break-after
Values:
auto
|
always
|
avoid
|
left
|
right
|
page
|
column
|
avoid-page
|
avoid-column
Initial value:
auto
Applies to:
Block-level elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines whether a column or page break should or should not be placed after the element. Al-
though it is theoretically possible to force breaks with
always
, it is not possible to guarantee
prevention; the best an author can do is ask the user agent to
avoid
inserting a column or page
break after the element. The keywords
avoid-column
and
avoid-page
attempt to prevent in-
sertion after the element of column or page breaks, respectively. The keyword
left
is used to
insert enough breaks after the element to make the next page be a left-hand page; similarly,
right
is used for a right-hand page.
page
and
always
insert a page break after the element;
column
and
always
, a column break.
Examples:
h3 {break-after: avoid;}
div.col {break-after: column;}