View Single Post
Old 02-11-2018, 04:46 AM   #16
mzso
Enthusiast
mzso began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2018
Device: PC
Quote:
Originally Posted by deback View Post
1.2 and 1.2em are the same, but 1.2 is the standard, and the "em" is not needed.

If the line-height is not included in the <body> selector (such as, in the .calibre CSS selector) or is not included in the paragraph class selectors, the line-height will not be standard (i.e., the lines will be too close together).

Everything I included in my response helps to keep the line-heights standard in all the epub files I convert and fixes several other things, such as, justifying the paragraphs, having standard indents of 1.2em, having no indents for chapter opening paragraphs, etc.
Actually the CSS didn't do anything for line height when I tried it. (Well, except ruining my custom header... )
Nothing does, but removing it by filtering the property. At least this makes them uniform...

Last edited by mzso; 02-11-2018 at 04:54 AM.
mzso is offline   Reply With Quote