View Single Post
Old 11-19-2018, 11:44 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Trane View Post
Hi... have a very long book (over 3k pages in KP) and noticed many of the sub-chapter headings are orphaned with blank space and the text starting on the next page (usually when an image that accompanies the text is too large to be put on the previous page).

I don't want to create a sep HTML file for each sub-heading, so was going to use this:

<div style="page-break-before:always;"></div>

... to keep the heading with the text... But was wondering if it can be placed in the CSS somehow so I don't have to manually paste it into several dozen places in the book code? TIA

EDIT: Uh, I think I found the answer here. Sorry for the post but hope it helps someone else.
With all due respect, I'm familiar with the problem--and big hunks of white space, on the original page, at the bottom, aren't any better than the heading languishing on one page with the text on the next. You're simply trading it off. Those of us that read eBooks really don't care about "orphaned" headings, (not really orphaned, but, as a descriptor) FWIW.

Hitch
Hitch is offline   Reply With Quote