View Single Post
Old 11-09-2021, 08:58 PM   #68
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by tschucha View Post
Can I add this for all books in Calibre by going to Preferences-Conversion-Common Opitions-Look & Feel- Styling-Extra CSS?

body {
line-height: 1.2; /* or normal */
}
Yes, but it doesn't always work. That's what I did early on. The problem is if a tag has a class, that css takes precedence over a naked tag. E.g., if it says body class="calibre1" then it'll use the .calibre1 css and not yours. Even worse, some have body style="some crap" but I think calibre will convert that to a class in the .css file. I've resorted to deleting the class="whatever" on all of the body tags, likewise on all of the p tags for the body text. This is after I convert to EPUB. The kindle files are pretty ugly and calibre cleans up a lot of their garbage during the conversion.

Last edited by hobnail; 11-09-2021 at 09:01 PM.
hobnail is offline   Reply With Quote