View Single Post
Old 03-02-2020, 09:07 AM   #60
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by dxcore35 View Post
BODY (file1: file.xhtml)

Code:
<div class="v">TEXT 1.... <a id="ft1" href="footnotes.xhtml#fn1"><sup class="reference">1</sup></a></div>
<div class="v">TEXT 2.... <a id="ft1" href="footnotes.xhtml#fn2"><sup class="reference">2</sup></a></div>
<div class="v">TEXT 2.... <a id="ft1" href="footnotes.xhtml#fn3"><sup class="reference">3</sup></a></div>
FOOTNOTES (file2: footnotes.xhtml)

Code:
<section epub:type="endnotes" role="doc-endnotes"> 

	<h1>FOOTNOTES</h1>

	<p epub:type="footnote" id="fn1"><a href="file.xhtml#ft1">1 </a>DESCRIPTION 1</p>
	<p epub:type="footnote" id="fn2"><a href="file.xhtml#ft2">2 </a>DESCRIPTION 2</p>
	<p epub:type="footnote" id="fn3"><a href="file.xhtml#ft3">3 </a>DESCRIPTION 3</p>
    
</section>
CSS

Code:
.footnote {
            display:block;
 	    text-indent:0.00em;
 	    margin-top: 0em;
	    padding-left: 25px;
	    text-indent: -25px;
	    text-align: left;
}
RESULT
  • Footnote refer there and also back
  • On Amazon kindle it appears as popup with just one entry
  • References are all in one page / list
Do you realize that you're replying to a FIVE year old thread?

And by not using "aside," you're ensuring that those footnotes won't work on older Kindles (although I'm not sure that even using that makes ePUB:type work on K2s, DXes, etc.)

Hitch
Hitch is offline   Reply With Quote