View Single Post
Old 12-18-2019, 06:58 PM   #70
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jhowell View Post
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>)?
RbnJrg is offline   Reply With Quote