View Single Post
Old 04-19-2023, 11:35 AM   #9
tschucha
Zealot
tschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfoldedtschucha reads XML... blindfolded
 
tschucha's Avatar
 
Posts: 147
Karma: 52546
Join Date: Oct 2010
Device: Kobo Sage
Quote:
Originally Posted by Quoth View Post
I remove all line-height entirely on any conversion on all ebooks using any format using the Remove Styles setting in Calibre conversion. You can convert to same format. Then font metrics set the default on larger text / headings anyway, but the Kindle has limited user line-height control and on some formats won't even let CSS set it less than 1.2em.
This is pointless:


The margins are a big issue, but at least the CSS will be respected. I think I read that something like -1.5% (do check) works on most Kindles whereas using -40px or other absolute pixels needs to be different on different models.
Then something like this added to my "Look and Feel" -> Styling tab should shrink the left & right margins and remove the line-heights?



body {
margin-left: -1.5%;
margin-right: -1.5%;
}

with the filter style information adding "line-height" to the Other CSS Properties text box at the bottom of the Styling tab window?
tschucha is offline   Reply With Quote