Thread: Drop Caps Help?
View Single Post
Old Yesterday, 01:13 PM   #17
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I don't see any drop cap in Shadows of Ecstasy; I only see raised caps; it's not the same thing. By the way, the xhtml code employed is not the best.
You have raised caps in Shadows because the first letter has the style "calibre1":

Code:
.calibre1 {
    font-size: 1.5em;
    line-height: 1.2
}
while in "War in Heaven" you have nothing. So, in "War in Heaven", in your stylesheet.css, write at the end the following:

Code:
.calibre6 {
    font-size: 1.5em;
    line-height: 1.2
}
and in your .xhtml files, enclose the first letter of the first paragraph of the chapter with <span class="calibre6">YOUR LETTER</span>.

For example, in Chapter One you should have the following:

Code:
<p class="calibre2"><span class="calibre6">T</span>he telephone bell was ringing wildly, but without result, since there was no one in the room but the corpse.</p>
RbnJrg is online now   Reply With Quote