Superscript: Is there an acceptable way to make it smaller text?

+4 votes
206 views
Using just the <sub> tag does not generate superscript that meets the common general standard of being slightly smaller that the rest of the text.

Using <sup style="font-size:80%">x</sup> works, but is this an acceptable way to apply style to superscript on WIkiTree?

If not, is there a better way to accomplish making WikiTree superscript follow the normally accepted standard?

Thanks
in Policy and Style by Eric Vavra G2G6 Mach 3 (37.0k points)

Hi Eric. A strict answer is that CSS style= is nonstandard and should not be used on general person profiles. See

https://www.wikitree.com/wiki/Help:HTML_and_Inline_CSS

I agree that slightly smaller superscripts would look better. Ideally the official site-wide CSS would provide this automatically.

Edited to fix typo.

Jim, thanks for the reply. It was the answer I was assuming I would get, but I was hoping I missed something.

I will just avoid using superscript or subscript on general profiles for now since the current functionality does not really work well.

1 Answer

+3 votes
You could always create a proposal for modification of the site-wide CSS to reduce the font size. However, this tag is used widely across WikiTree, most notably for inline references, and it would have an extreme impact on readability, style and consistency, and accessibility.

Another possibility may be the creation of a new template. Is there a specific need for manually adding superscript text? Is it important that the superscript text is smaller than the preceding text?
by Steven Harris G2G6 Pilot (755k points)
Maybe inline references could be corralled from being affected if the markup-to-HTML conversion code were tweaked to give them a separate CSS class behind the scenes.
They do have a class assigned to them, but they are not used for styling. Even then you would be looking into CSS overrides, potential conflicts, etc.
Steven, thanks for the reply. I don't have a significant enough reason to suggest a site wide change.

Most of the usage of super or subscript can be avoided by expressing thoughts in different ways.

In the WikiTree Browser Extension I found the Readability options to make the Inline Citation size smaller so that gives the option for that usage to those who share the preference.

Related questions

+4 votes
2 answers
+10 votes
3 answers
376 views asked Feb 23, 2015 in Policy and Style by Anne B G2G Astronaut (1.3m points)
+3 votes
2 answers
+7 votes
2 answers
+13 votes
8 answers
430 views asked Feb 26, 2020 in The Tree House by Nancy Wilson G2G6 Pilot (148k points)
+8 votes
3 answers
+8 votes
3 answers
367 views asked Aug 6, 2020 in Policy and Style by Olin Coles G2G6 Mach 2 (21.8k points)
+12 votes
3 answers
+8 votes
4 answers
915 views asked Aug 15, 2017 in Policy and Style by Mags Gaulden G2G6 Pilot (646k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...