Quote:
Originally Posted by Renate
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).