Code Snippet
Prevent Superscripts and Subscripts from Affecting Line-Height
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub { top: 0.4em; }
See here for complete reference and demo.
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub { top: 0.4em; }
See here for complete reference and demo.
perfect!
just saved me a tonne of work
YAY!
Thank you so much! I tried several other options I had found and none worked. Thank you for your genius and generosity. Deep bow.
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.