View Single Post
Old 07-05-2011, 10:59 AM   #1
Benjamin Buford
Nameless Being
 
Question CSS pseudo-elements in EPUBs: Supported or not?

I am putting together an ebook with the Sigil software (which I can really recommend).

I created "initial caps" (not drop caps) by using the :first-letter pseudo-element (see usage at the W3C). The initial caps are displayed nicely inside Sigil itself and also by the Firefox EPUBReader add-on.

However, Adobe Digital Editions ignores it. Please have a look at the screenshots for clarification; Sigil is on the left, ADE on the right. I also included my CSS stylesheet.

On the internet there seems to be some discussion whether this should be supported by ADE or not (minimum ereader CSS standards etc. etc.), but it isn't. What I want to say is that others have noticed the same phenomenon, so this should not be related to a specific issue with my setup.

I have not received my Kobo Touch yet, so I can not verify this myself.
So my question is: Do Kobo ereaders support CSS pseudo-elements or not?

I attached a very small ebook for testing purposes so maybe someone could try this out for me.

On a sidenote, I am just "converting" an ebook I recently bought to EPUB, as the publisher offers PDFs only, which, in my opinion, sucks
Attached Thumbnails
Click image for larger version

Name:	cap3.png
Views:	364
Size:	68.7 KB
ID:	73836   Click image for larger version

Name:	cap2.png
Views:	378
Size:	30.3 KB
ID:	73837  
Attached Files
File Type: epub ebook_test.epub (3.1 KB, 299 views)

Last edited by Benjamin Buford; 07-05-2011 at 11:33 AM.
  Reply With Quote