The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Printing |
| Previous Style: page-break-before | Next Style: pause |


page-break-inside

Determines if and how a page break is inserted within an element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported
Notes:
  • You can't use page breaks with elements that have their position property set to absolute.

See Also:

orphans, page-break-after, page-break-before, widows

Possible Values:

always
A page break is always inserted inside the element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

auto
Page breaks are inserted as needed.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

avoid
A page break is never inserted inside the element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

left
One or two page breaks are inserted inside the element to ensure that the following page is formatted as a left page.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

right
One or two page breaks are inserted inside the element to ensure that the following page is formatted as a right page.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

Example:
<BLOCKQUOTE STYLE="page-break-inside: avoid">
The Internet is so big, so powerful and pointless that for 
some people it is a complete substitute for life.
—Andrew Brown
</BLOCKQUOTE>

| Index | Current Category: Printing |
| Previous Style: page-break-before | Next Style: pause |