View Single Post
Old 05-03-2013, 03:30 PM   #12
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,368
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by elibrarian View Post
ADE doesn't support pseudo elements, and in version 1.0 it didn't support "justify" either. Coolreader only supports a subset of the CSS spec. and AFAIK pseudo elements is not among the supported tags.
Just to clarify:
The ePub spec requires support of a subset of CSS. Among those elements that are required are the pseudo elements: :first-letter and :first-line
ADE does not fully support the ePub spec because it does not support those pseudo elements - and any reader/app based on ADE does not support them.

Other, newer, readers/apps - which are not based on ADE - will probably support them. Also, any reader/app that supports ePub3 will probably definitely maybe support them!

Quote:
Originally Posted by elibrarian View Post
So there is no way you'll get away with making first-letter formatting this way - you'll have to use span's, as others have pointed out.
Again, ask yourself if this is for commercial or private use.
- If private, then you can definitely use the pseudo elements - just use a reader/app that supports them. I do it all the time and it works fine, but I read using the Marvin app on iPad and ePubReader Firefox plugin for PC.
- If it's for commercial use then +1 to using the spans.
Turtle91 is offline   Reply With Quote