Jump to content

TM and ® for HTML


S@m

Recommended Posts

I have seen in code where the above symbols are not just ® but the actual number code. I know ® is alt+0174 and etc. However, I still need to use the sup tag to move the symbols up. This makes my line spacing funky. If you can use the number code that makes the symbol AND moves it up, it won't mess with your spacing.Does anyone know where I can find these number codes (or know what I'm talking about) :)

Link to comment
Share on other sites

Here is a partial list of codes:http://www.lookuptables.com/(click HTML codes on the top)But the register character is not superscript, it's just normal. If you want to make it superscript, then you can use the sup tag, but the character itself is not a superscript character like the trademark TM is.

Link to comment
Share on other sites

So you have no choice to use the <sup> element to move it up. It sounds logical your line height gets messed up somehow with this element. Maybe you could apply margin style to it? Or if that doesn't help, relative positioning :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...