Superscript, Subscript Positioning with CSS


sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub { top: 0.4em; }

Reference:
http://css-tricks.com/snippets/css/prevent-superscripts-and-subscripts-from-affecting-line-height/

Advertisements