DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Correctly Align ®. Also Works For Subscripting Elements Correctly

03.09.2009
| 3266 views |
  • submit to reddit
        Correctly align ® in html and css. Also works for subscripting elements correctly in a page so that hte lineheight is not messed with to create uneven line spacing on that particular line.

sup{
	font-size:xx-small; vertical-align:top;
}
sub{
	font-size:xx-small; vertical-align:bottom;
}