In the past I have been using <sub>
and <sup>
for subscript and superscript in questions and answers. While writing an answer yesterday, I noticed that superscript no longer worked as expected. Both subscript and superscript created with the <sub>
and <sup>
tags are shown as small letters with the same baseline as the normal text (or at least that's what I see on my computer).
This is a test of subscript and superscript.
Below is a screenshot of the above text as I see it now:
Was something changed to the vertical-align of 'sub' and 'sup' in the Stack Overflow CSS, or should I look for the cause of this problem in my own setup?
When I view other sites the superscript and subscript looks normal, e.g. this.
vertical-align: baseline
got added to the global reset for all elements at the very beginning of the CSS file (my local version of the file doesn't have it). Probably didn't realize those two elements were in the list and depended on that baseline change.