Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Correctly Align ®. Also Works For Subscripting Elements Correctly

DZone's Guide to

Correctly Align ®. Also Works For Subscripting Elements Correctly

·
Free Resource
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;
}

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}