View Single Post
Old 02-06-2014, 03:24 AM   #34
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Jellby View Post
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:

Yes, that would of course work. The problem is, it doesn't provide anything for the readers/devices that don't recognize small-caps, which are unfortunately plentiful. Hmmmph. Maybe a bold? That would not be extra-special, heavens knows, but it would at least be "sumpin-sumpin." Of course, a bolded smallcaps might be overpowering to the page...

urghghghg. ADE, why do you have to be so ornery?

@Cyb: yes. Breaking the first line with multiple spans just seems to make it go bonkers, no matter what they are. This is what we discovered a few years back with the dreaded Raised-Initial/smallcaps first line effort.

Hitch
Hitch is offline   Reply With Quote