View Single Post
Old 11-19-2015, 06:23 AM   #316
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,014
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by GeoffR View Post
I think that is intentional. It has been like that forever.

The ePub built-in stylesheet has the following line:
Code:
body { padding-bottom: %1 !important; }
where %1 is the height of one line.

In other words, a blank line is added automatically at the end of every chapter, the effect of which is to (sometimes) push the last line onto the next page.

Some publishers also add their own code to do the same thing, sometimes by adding a blank paragraph at the end of a chapter. In some cases this can combine with the stylesheet to push more than one line to the next page.

(Edit: Those who patch the firmware might not see this, depending on their choice of patches, because some of the patches remove this line from the built-in stylesheet to make room for other things.)
Which patches edit out this line from the built-in CSS? I know I've never seen this bug.

However, if I add in body { padding-bottom: 0 !important; } to the book's CSs, would this override the RMDSK CSS?
JSWolf is offline   Reply With Quote