View Single Post
Old 02-10-2018, 09:23 AM   #4
mzso
Enthusiast
mzso began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2018
Device: PC
Quote:
Originally Posted by deback View Post
I use Transform in Look and Feel for line-height (4 entries), plus I have some entries in Styling to add this code when it's not included in the <body class> code:

If line-height is less than or equal to 1.2, change it to 1.2.
If line-height is less than or equal to 1.2em, change it to 1.2.
If line-height is greater than or equal to 1.2, change it to 1.2.
If line-height is greater than or equal to 1.2em, change it to 1.2.


For text alignment, manually change (in the .css file) to one of the following for the CSS class:

text-align: left;
text-align: right;
text-align: justify;
text-align: center;

However, I have a bunch of entries in Styling that do this for me most of the time when converting, and I rarely have to manually change it. Here's what I have in Styling:

.calibre {
margin-top: 0;
margin-bottom: 0;
text-align: justify;
line-height: 1.2;
}
[...]

I also have 30pt for left and right margins in Page Setup (at the bottom right of that screen).
Thanks.

Wow that's a long list. That transform are only applied to content, or for chapter titles and such also?
What ".calibre" stand for?

Probably a stupid question. But what does using 1.2 (no unit?) and 1.2em mean?

Last edited by mzso; 02-10-2018 at 09:27 AM.
mzso is offline   Reply With Quote