View Single Post
Old 07-14-2013, 02:54 AM   #24
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,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by theducks View Post
You forgot to assign the font-family to the class italics
Not needed, since it was already in the <body> style... unless there's something between <body> and <* class="italics"> that alters the font-family. By the way, instead of <span class="italics"> you could use <i>, which is shorter (although the class offers the advantage of being applicable to any element).

Regarding the problem with fonts not being used, in my experience good font support is hard to find in any reader or browser, and I believe there are some issues with fonts display in Sigil anyway.

Another piece of advice: do not specify a background colour, or, if you really want to, specify a foreground colour too, otherwise the text might be invisible in some configurations.
Jellby is offline   Reply With Quote