Quote:
Originally Posted by Faterson
There is nothing to fix in my EPUBs (at least those I tried). They are hand-crafted by me, from w3c.org-validated HTML files. All the paragraphs have zero margins, there are no widows, orphans and such.  And, it wouldn't be worth the hassle for me, anyway. I buy e-reader devices for reading books on them, not to struggle with manually fixing the book files before reading them. 
|
If you don't insert widows: 0; and orphans: 0; in the css stylesheet, the default is set to 2 or 3(*). Setting both to 3, if a paragraph has 4 lines, all 4 lines must be kept together. So if the paragraph falls at the bottom of the screen, rather than displaying 3 lines on one screen and 1 line on the next screen, you will get 3 lines worth of blank space and the paragraph on the next page.
I use Sigil to clean up the formatting in most of the books I read. Calibre is capable of doing many of the cleanup tasks automatically as well.
(*) The 2 or 3 for the default value seems to vary depending on which source you check.
Regards,
David