Prev | Current Page 516 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

2+ Saf3 FF2 IE7
FULL NONE NONE NONE
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full None None None None None None None None None
Internet Explorer for Windows versions up to and including 7 don??™t support this
property.
Firefox versions up to and including 2 don??™t support this property.
Safari versions up to and including 3 don??™t support this property.
Paged Media Properties
The Ultimate CSS Reference 364
page-break-after
page-break-after: { always | auto | avoid | left |
right | inherit } ;
This property specifies whether a page
break may, must, or shouldn??™t occur
after a block-level element??™s generated
box.
Value
always forces a page break after the
box
auto allows a page break after the box, but doesn??™t require it
Example
This style rule ensures that an h3 element
never ends up at the bottom of a page:
h3 {
page-break-after: avoid;
}
avoid tells the user agent to avoid inserting a page break after the box, if at all
possible
left forces one or two page breaks after the box, so that the next page will be
a left-hand page
right forces one or two page breaks after the box, so that the next page will be
a right-hand page
Compatibility
SPEC
version initial inherited
CSS2 auto NO
BROWSER SUPPORT
Op9.


Pages:
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528