Stop Superscripts from Breaking Line-Heights Once and for All

/ Published in: CSS
Save to your folder(s)

Copy this code and paste it in your HTML
  1. sup, sub {
  2. vertical-align: baseline;
  3. position: relative;
  4. top: -0.4em;
  5. }
  6. sub { top: 0.4em; }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.