View Single Post
Old 07-25-2025, 06:22 AM   #7
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 331
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
I use break-after:avoid and it has never failed me. It works well both in epub and after the epub has been converted via calibre to pdf for printing. I use it on centered, bold one-liners of <div style="break-after:avoid">…</div>. This also works well if you want to keep top-caption always together with image below it. (I must admit top-captioned images are less common than images followed by bottom captions.) For the most part I find it more useful to have an image with a bottom AND top caption. I use break-after:avoid as a class and pop it into place with a calibre snippet.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2025-07-25 05-13-32.png
Views:	43
Size:	466.4 KB
ID:	217097   Click image for larger version

Name:	Screenshot from 2025-07-25 05-13-51.png
Views:	44
Size:	366.7 KB
ID:	217098   Click image for larger version

Name:	Screenshot from 2025-07-25 05-14-20.png
Views:	51
Size:	550.5 KB
ID:	217099   Click image for larger version

Name:	Screenshot from 2025-07-25 05-14-59.png
Views:	46
Size:	458.5 KB
ID:	217100  
rjwse@aol.com is offline   Reply With Quote