Quote:
Originally Posted by Wlan
For those who want to test, this code should work on the vast majority of devices
CSS:
@charset "utf-8";
*{margin:0%;padding:0%;border-width:0;}
html{height:100%;}
body{height:100%;line-height:1.2;}
body *{line-height:inherit;}
p{text-align:justify;text-indent:6.4mm;}
.removeti{text-indent:0%;}
/* 2 Lines(2.333em) Drop Caps for line-height 1.2 Example */
span.dropcaps2{
float:left;
font-size:1.944166666666667em;
height:1.2em;
line-height:1.2em;
margin-right:0.04em; /* optional */
margin-left:0.04em; /* optional */
}
/* 3 Lines(3.5em) Drop Caps for line-height 1.2 Example */
span.dropcaps3{
float:left;
font-size:2.916666666666667em;
height:1.2em;
line-height:1.2em;
margin-right:0.04em; /* optional */
margin-left:0.04em; /* optional */
}
/* 4 Lines(4.667em) Drop Caps for line-height 1.2 Example */
span.dropcaps4{
float:left;
font-size:3.889166666666667em;
height:1.2em;
line-height:1.2em;
margin-right:0.04em; /* optional */
margin-left:0.04em; /* optional */
}
<snippage>
|
Am I hallucinating, or do I see the very exact same line-height CSS, on the Body tag, that Kindlegen
removed, from the test MOBI?
Hitch