View Single Post
Old 06-17-2015, 04:25 AM   #5
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
Quote:
Originally Posted by RbnJrg View Post
Don't use "page-break-inside: avoid" but "page-break-after: avoid" with <h> tags. The easiest way to do that is to write in your css stylesheet the following:

Code:
h1, h2 {
     page-break-after: avoid;
}
ADE (even ADE 2 and ADE 3) will respect that property but only for epub2 ebooks. Also ADE will respect orphans and widows properties but I don't know why ADE 4 —for epub3 ebooks— it doesn't respect those properties
Thanks, I'll give this a try.
Oxford-eBooks is offline   Reply With Quote