Quote:
Originally Posted by jhowell
I have an update on this. The latest version of the Kindle Previewer, 3.36, no longer requires float to be used in order to have the page-break-inside:avoid property retained during conversion. I played around with it a bit and noticed some inconsistent behavior.
Regular paragraphs of text can be kept together in their entirety.
Applying this property to a span appears to do nothing.
Applying it to a div containing multiple paragraphs and a full width image causes them to all be kept together when shown in the Previewer. However on a Kindle running the 5.13.3 firmware the individual paragraphs are kept together but page breaks still occur between them.
|
What about "page-break-after: avoid" with multiple <h#> tags? If I have, for example:
Code:
<h2>My Title</h2>
<h3>My SubTitle</h3>
<p>Some text here...</p>
with "page-break-after: avoid" aplied to <h2>, <h3>; does all that stay together (I mean <h2> + <h3> and at least one line of <p>)?