Thread: Small caps
View Single Post
Old 06-07-2014, 01:14 PM   #9
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
The most portable way without using an embedded font is:

Code:
/*synthetic small caps*/
.ssc {
    font-size: 80%;    /* here you can use any other size you like, maybe 70% */
}
and

Code:
<p>T<span class="ssc">HIS IS A TEXT IN SMALL CAPS</span></p>
Basically resize the font across a span.
It's carp but it works just about everywhere.

One day there will be a standard for standards that
requires a compliance test before support for any
standard can be claimed
DomesticExtremis is offline   Reply With Quote