EPUB: Difference between revisions
| Line 19: | Line 19: | ||
When using reflowable EPUB, there's no real concept of a page, and thus no real concept of footnotes. One can move them to the end of a chapter, but an arguably better solution is a popup. Enclose the footnote text in an <tt>aside</tt> tag ala: | When using reflowable EPUB, there's no real concept of a page, and thus no real concept of footnotes. One can move them to the end of a chapter, but an arguably better solution is a popup. Enclose the footnote text in an <tt>aside</tt> tag ala: | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
<aside hidden epub:type="footnote" id="SOMEID"> | <aside hidden="hidden" epub:type="footnote" id="SOMEID"> | ||
<div class="footnote"><a href="#CALLSITE">*</a> Footnote text.</div> | <div class="footnote"><a href="#CALLSITE">*</a> Footnote text.</div> | ||
</aside> | </aside> | ||