XML technologies / ePUB / CSS essentials / Important CSS properties / Page breaks
(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)
The table lists the main CSS properties for page breaks, with possible values and an example each.
Isolated lines at the top of a page Sets how many lines may remain after a break, preventing typographically undesirable widows, isolated lines at the top of a page. | |
Values |
|
Example |
|
Isolated lines at the bottom of a page Sets how many lines may remain before a break, preventing typographically undesirable “orphans”, isolated lines at the bottom of a page. | |
Values |
|
Example |
|
page-break-inside | Page break inside an element Prevents a page break within an element. Possible values: 1) 2) |
Values |
|
Example |
|
Page break after an element Prevents a page break after an element. Possible values: OPS note: readers displaying only one page must interpret 1) 2) 3) 4) 5) 6) | |
Values |
|
Example |
|
Page break before an element Prevents a page break before an element. Possible values: OPS note: readers displaying only one page must interpret 1) 2) 3) 4) 5) 6) | |
Values |
|
Example |
|
Copyright © mitp 2011
You may print the online version for your private use.
Otherwise, this chapter from “E-Books mit ePUB” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Verlagsgruppe Hüthig Jehle Rehm GmbH, Im Weiher 10, 69121 Heidelberg, kundenbetreuung(at)hjr-verlag.de
back to top