View Single Post
Old 08-11-2023, 11:17 AM   #1696
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 nabsltd View Post
My most recent pain point with styling to get italics was the following from a commercial e-book with Dutton as the original hardcover publisher:
Code:
<style>
.cs {
  font-style: italics;
}
.plain {
  font-style: normal;
}
</style>

<p class="somepara cs"><span class="plain">“We </span>need <span class="plain"> you"</span></p>
Yes, any paragraph where any word should be italicized (either through <em> or <i>) got styled as "italicize the whole thing and add exceptions for non-italic text".

Talk about an nightmare for accessibility.
What the hell? Was this "body" text inside a letter or some other reason (or pseudo-reason) that it was italicized in the main and made "regular" for that text meant to be emphasized? That's...horrible.

Hitch
Hitch is offline   Reply With Quote