How to Prevent Superscripts and Subscripts from Affecting Line-Height

by in , 0

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

Css code to stop superscripts from breaking line heights once and for all

Leave a Reply