View Single Post
Old 06-22-2020, 09:36 AM   #100
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
Why would you want <i> and <em> to be normal? That just defeats the purpose.
To differentiate an emphasized word within other words that are already italicized/emphasized...

Code:
.internaldialog {font-style:italic}
.internaldialog em {font-style:normal}

<p class="internaldialog">She thought to herself, "<em>Snow White</em>
 is fairer than me‽"</p>
or, the way I like to do it:

Code:
em {font-style:italic}
em em {font-style:normal}

<p><em>She thought to herself, "<em>Snow White</em>
 is fairer than me‽"</em></p>
She thought to herself, "Snow White is fairer than me‽"
Turtle91 is offline   Reply With Quote