View Single Post
Old 10-06-2020, 11:04 AM   #599
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by jackie_w View Post
I've replied to this in the other thread



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 ...
Mmmmm yes. So much to say... but... I suppose you're right

Quote:
Originally Posted by NiLuJe View Post
Yep, it's a two-edged sword. We have a style tweak for that in KOReader, so you at least get to choose it on a per-document basis, but it's still *very* broad when you apply it .
Mmm yes... poo.
Quote:
It's split in two, margin/padding, and essentially looks like that:

Code:
p, li { margin-top: 0 !important; margin-bottom: 0 !important; }
Code:
p, li { padding-top: 0 !important; padding-bottom: 0 !important; }
Thanks!
Mrs_Often is offline   Reply With Quote