View Single Post
Old 06-15-2013, 09:39 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by phossler View Post
Thanks for the suggestion, but I didn't see any difference in the way ADE displayed the sub and super scripts

Possibly did it wrong

Code:
.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
	line-height:0;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
	line-height:0;
}
The subscripts (using .sub above seem to sit on the baseline, and not 'sub' to it.)

Paul
I think you need to set the line height on the regular text to 0, not in the sub and sup. Anyway try playing with various line-height values.
DaleDe is offline   Reply With Quote