Quote:
Originally Posted by Phssthpok
I have <h3> specified as "page-break-after: avoid", but despite this <h3> headings sometimes appear as the last line on a page. Changing "avoid" to "always" appears to work.
|
Avoid does not mean never, it means "Avoid page break after the element (if possible)". And how clever the software is in interpreting avoid will vary. Clearly avoiding the break by moving the header to the next page isn't something the Kindle does.
"page-break-after: avoid" is NOT the equivalent of the "keep-with-next" attribute in page layout software. It's advice, not a requirement.