Think I've got it for superscript 2 or 3:
Include control characters in the middle of the HTML between the <option> ... </option> tags.
e.g. <option>10²</option> gives 10 with superscript 2.
Further control characters ⁴ to ⁹ give 4 to 9 but some spaces may be added.
Subscripts are...
I would like to include chemical formulas and powers of 10 in drop-down menus. I can change the whole of one option choice using 'style=' inside the <option...> tag . But I can't make individual characters super / sub-script. Any ideas please?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.