I would like all "®" on a site to be in superscript. Can I do that with CSS?
For example: To insert the copyright symbol, press Ctrl+Alt+C. To insert the trademark symbol, press Ctrl+Alt+T. To insert the registered trademark symbol, press Ctrl+Alt+R.
The proper manner to display these symbols is immediately following the mark; the symbol is commonly in superscript style, but that is not legally required.
The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font.
AverageAdam's answer will work fine, but if you for some reason wanted a CSS version, you could do this:
.sup { vertical-align: super; }
and
<span class="sup">®</span>
From here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With