View Single Post
Old 02-06-2014, 03:13 AM   #33
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,551
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by cybmole View Post
the "graceful fall back" idea doesn't really work either, you get a phrase of FULL SIZE CAPS which looks ghastly, if the font-variant is ignored & there are no other qualifiers.
That must be because you have the CAPS hardcoded to start with, something like this should really give a graceful fallback:

Code:
<p><span class="first_phrase">This is the first phrase</span> of the chapter...</p>

span.first_phrase {
  font-variant: small-caps;
}
Jellby is online now   Reply With Quote