View Single Post
Old 11-02-2020, 07:35 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,198
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Uncle Robin View Post
Thanks jackie_w, I will try that. I've posted in the linked styles thread that pasting an entire CSS template from that thread and changing the line-spacing value did exactly nothing. Perhaps just adding a line-height value will do the trick.
For line-height you will need to add !important to the style.
(This is because many css selectors in ebooks have their own line height.)

Code:
body {line-height:1.15 !important}
https://www.geeksforgeeks.org/how-to...ortant-in-css/

Quote:
The !important property in CSS is used to provide more weight (importance) than normal property. In CSS, the !important means that “this is important”, ignore all the subsequent rules, and apply !important rule and the !important keyword must be placed at the end of the line, immediately before the semicolon.

bernie

Last edited by gbm; 11-02-2020 at 07:37 PM.
gbm is offline   Reply With Quote