subscript and superscript for the same element

前端 未结 2 558
孤街浪徒
孤街浪徒 2021-02-07 06:50

Is there any way to add both subscript and and superscript to the same element? If I do

Sample TextSubSup
         


        
2条回答
  •  抹茶落季
    2021-02-07 07:01

    This one is similar to CyberDudes approach, additionally it indents the following text depending on the width of sub and sup:

    http://jsfiddle.net/jwFec/1/

    Some text supsub followed by other text.

提交回复
热议问题