Is there a way in CSS to adjust the baseline position of
text marked up with either <sup></supor <sub></sub>,
relative to the surrounding text?
Reason for asking is that the default rendering in most
browsers always increases the spacing between the line
of text containing these elements and those above/below
that lack it.
I can easily reduce the size of the subscript or superscript
text relative to the surrounding text, but can only reduce
this line spacing shift by reducing subscripts and superscripts
to ridiculously small - and completely illegible - sizes.
Thanks!
text marked up with either <sup></supor <sub></sub>,
relative to the surrounding text?
Reason for asking is that the default rendering in most
browsers always increases the spacing between the line
of text containing these elements and those above/below
that lack it.
I can easily reduce the size of the subscript or superscript
text relative to the surrounding text, but can only reduce
this line spacing shift by reducing subscripts and superscripts
to ridiculously small - and completely illegible - sizes.
Thanks!
Comment