Quote:
Originally Posted by JSWolf
So how do you do a drop cap for ePub 2? There is no initial letter. I prefer to read on my Kobo with ePub because it renders better. I will read with KePub when there is a need for it. But a drop cap is not a need for KePub.
|
The same way it's been done for decades. You wrap the first letter of the first paragraph in a chapter with a span. It may not be pretty but it's works until you change the view settings too far. From one recent ePub book:
Code:
<p class="first first-in-chapter first-full-width first-with-first-letter-m"><span class="first-letter first-letter-m first-letter-without-punctuation">M</span>
And yes, this ebook has 20 first-with-first-letter-? styles for the paragraphs and 20 first-letter-? styles for each of the spans.