Thread: CSS question
View Single Post
Old 12-17-2011, 05:34 AM   #16
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by Jellby View Post
Yes, it works, but you are using "fake" small-caps with some ad-hoc manual coding, when the rational approach would be:

Code:
<span class="smallcaps">My Dear Crampton</span>:

span.smallcaps {
  font-variant: small-caps;
}
much more maintainable and cleaner. The problem is it doesn't work in ADE, but that's ADE's problem and bug, and I won't degrade the coding to satisfy ADE, at least for something that's not essential.
Doesn't work with Kindle either.
crutledge is offline   Reply With Quote