Keep Superscript From Changing Line Height

Supplemental 65 views
0 Flares 0 Flares ×

This CSS will keep superscript from changing line height.

sup, sub {
   vertical-align: baseline;
   position: relative;
   top: -0.4em;
sub { 
   top: 0.4em; 
Posted in CSS


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

No Trackbacks.


Register | Lost your password?
0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×