PDA

View Full Version : Service Mark HTML code?


EricSanchez3099
07-02-2003, 04:32 AM
Is there any tag or HTML code to make the little "SM" next to some text. Instead of the "TM" for trademark, I need to put a little small "SM" next to some text. Any help is appreciated.

pardicity3
07-02-2003, 05:10 AM
Hmm, I don't think there is an entity code for the SM. Though, you could always make your own through CSS. I think this would work:

<style type="text/css">
.sup {
vertical-align: super;
font-size: 60%;
}
</style>

My Company<span class="sup">sm</span>

kahuna1
04-20-2006, 05:54 PM
The advantage of this approach is that it doesnt' destroy the line spacing in a paragraph that contains the SM. It makes the characters smaller and aligns it with the top of the ascenders in the font (no higher).


sup {
vertical-align: text-top;
font-size: 90%;
}


In use:

This is the sentence where you need the servicemark on Wheaties<sup>SM</sup> but don't want the line spacing to be goofed up.