View Single Post
Old 08-08-2021, 08:19 PM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,825
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Beside the Turtle91's very good answer, you could supress <sup> tags if they were there.

For example, if you have something like:

Code:
<p>This paragraph has a footnote <a href="notes.html#ref1"><sup>1</sup></a>.</p>
you could re-write it as:

Code:
<p>This paragraph has a footnote <a href="notes.html#ref1">1</a>.</p>
You can use regex for doing that task in a second.

Also you could adjust the font-size for the "a" element in your .css stylesheet. I.e.:

Code:
a.note {
   font-size: 1em; /* or the size you want */
}
In this case, you should add the class name in your notes:

Code:
<p>This paragraph has a footnote <a class="note" href="notes.html#ref1">1</a>.</p>
RbnJrg is offline   Reply With Quote