If you don't care if the first capital letter drops or not, here is a simple .css code for dropcap:
.dropcap {
display: inline;
font-weight: bold;
font-size: 1.66667em;
line-height: 1.2;
}
It works every time, looks nice, is simple, and never gets messed up. I use the following html code:
<p class="noindent"><span class="dropcap">M</span>text continues here...
And it's easy to add the <span class="dropcap"> and corresponding </span> using a Regex search and replace.
|