View Single Post
Old 09-30-2020, 09:07 AM   #597
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Mrs_Often View Post
Would it be possible to make a patch that influences some CSS is Kepubs:

--> some padding/spacer or something to change distance between the text and the top of the screen/header and the bottom of the screen/footer, preferably separately from each other? (Doesn't necessarily have to be done with CSS of course if there is another way.)
I've replied to this in the other thread

Quote:
Originally Posted by Mrs_Often View Post
--> something to remove the extra (line) space before and after new paragraphs
Short answer: This is best done by book by book by editing the relevant CSS margins using an epub editor such as calibre Editor or Sigil.

Longer answer: This is a can of worms. I'd categorise it under "be careful what you wish for". Even if it could be done, books follow no rules when it comes to HTML/CSS. If it can be done in HTML/CSS it will be done by some publisher, somewhere - however inane. Any global attempt to force top/bottom margins to zero for standard paragraphs in every book also risks zeroing them where you didn't want them zeroed, e.g. scenebreaks, headings, quotations, poetry verses ...
jackie_w is offline   Reply With Quote