View Single Post
Old 01-18-2014, 01:21 PM   #4
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,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Rand Brittain View Post
As far as Calibre's editor is concerned, and Sigil too, this works great! I was able to replace the bullet points with the icons using the :before element and get them to look right.
While the :before pseudo-element should be supported in ePub 2, the content attribute, as far as I know, is not, and you're probably using it. Calibre and Sigil are using standard HTML renderers for display, which support parts of CSS not required in ePub, but ebook readers are a different beast.

Since you say "replace the bullet", I guess you are using lists... Stay away from them if you require any special styling. Instead use an embedded font, an explicit character and hanging indent (or whatever).
Jellby is offline   Reply With Quote