View Single Post
Old 05-04-2013, 11:50 AM   #19
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by GMcG View Post
Correction:

Sample 1 shows what I meant about shifting lines.
But dgatwood is right when saying it's possible with steady margins. After trying several relations between font-size, line-height and margin-bottom I found this for the second example:

.dropcap {
display: block;
float: left;
font-size: 2.2em;
font-weight: bold;
line-height: 1.2em;
margin-bottom: -0.2em;
margin-top: 0em;
width: 1em (better 1.1em for serifs)
}

I tested your style, but was unable to reproduce your results. Can you please post your actual test file?

(@RbnJrg's style worked fine without any modifications.)

Last edited by Doitsu; 05-04-2013 at 06:16 PM.
Doitsu is offline   Reply With Quote