Thread: CSS / dropcaps
View Single Post
Old 01-16-2012, 07:09 AM   #8
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
Quote:
Originally Posted by WS64 View Post
Try somthing like this:
<p class="first">I began...</p>
<p>normal text</p>

With this css:
.first:first-letter {font-size:175%;}
pseudo-classes should not be used in XHTML for ePubs.
huebi is offline   Reply With Quote