View Single Post
Old 12-18-2019, 11:01 AM   #66
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,121
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by jhowell View Post
Related to this topic, the page-break-inside:avoid property is usually stripped out during conversion to KFX. However I have found that it is usually carried through and functions as expected if it is used in conjunction with float.
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.
jhowell is offline   Reply With Quote