Quote:
Originally Posted by cybmole
so the line spacer controls are useless unless ALL line height CSS is manually removed.
|
Just put your preffered default line height in the body tag.
For the most flexible epub: put all your preferred settings in the body tag and Remove/delete all matching child selectors.
The child selectors should only contain different values.
Code:
.indent {
font-size:1em;
line-height:1.2;
margin:0;
text-indent:0;
}
.noindent {
margin-top:1em;
text-indent:0;
font-size:1em;
}
.center {
margin:0;
text-alignment:center;
font-size:1em;
text-indent:0;
line-height:1.2;
}
Rewritten it should something like this:
Code:
body {line-height:normal;margin:0;padding:0;text-alignment:justify;widows:1;orphans:0;font-size:100%;text-indent:0;}
p {margin:0;padding:0;} */ this is the only exception */
.indent {
text-indent:1em;
}
.noindent {
margin-top:1em;
}
.center {
text-alignment:center;
}
The body tag here also contains some unnecessary selectors because they are identical to the user-agent default settings. I.e: font-size:100% = font-size:12pt.