View Single Post
Old 08-22-2023, 02:16 PM   #1804
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 522
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by Renate View Post
I don't think many publishers (or web designers) have discovered that you can do multiple classes.
Code:
<p class="klingon poetry nauseating">
I've seen this used more often recently, but often one of the classes is a "do-nothing" that is just there for semantics. Basically, they name the class that does the formatting something obscure, then give a more meaningful name to a class that does no formatting:
Code:
<p class="ext-rw interview-rw">
And, just a few minutes ago, I saw possibly the worst way to format smallcaps:
Code:
span.sc-rw {
  font-variant: small-caps;
  font-size: 80%;
}
If the font supports true small capitals, it results in lowercase letters being converted to uppercase at about 0.4em. Otherwise, the letters are 0.8em (uppercase, or lowercase with no font support for small caps).
nabsltd is offline   Reply With Quote