View Single Post
Old 09-13-2011, 04:20 AM   #13
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,563
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by LaoTseu View Post
Any reason not to use :first-letter in an ePub?
Quote:
Originally Posted by Toxaris View Post
I doubt that :first-letter is supported in the various reader apps. I even doubt it is in the specs.
It is in the spec: "Reading Systems must support all CSS2 selectors, including pseudo-elements and pseudo-classes." But of course, it doesn't mean it is supported.

What I found is that, even if it is supported, you'll sometimes want to do something different that what :first-letter does, like including or excluding punctuation before or after the first letter.
Jellby is offline   Reply With Quote