View Single Post
Old 06-17-2025, 05:01 PM   #46
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by philja View Post
All worked much better when I wrapped the footnote <p>'s in an <aside> tag which I suppose I ought to have done first of all. I've now added <aside> to my clips.
FYI: in Apple Books, it makes a difference if you wrap end-of-chapter footnotes in <div> or <aside> tags. Both will be rendered as pop-up footnotes, but footnotes in <aside> tags will be hidden. For more information, see the Apple Books Asset Guide
Quote:
Originally Posted by Apple Books Asset Guide
Because the <aside> element has an epub:type of footnote, the text is hidden in the main body of the book. The text will only be seen by the reader in the context of the popup. [...]

Note: When adding pop-up footnotes in EPUB 3 books, you can replace the <aside> element with a <div> or <p> element. Use the <aside> element when you want to hide the footnote; use a <div> or <p> element when you want the footnote to appear in the normal reading view. If you use <div> or <p> and a user clicks the footnote link, the content appears in a popup, but the footnote is also visible as part of the text on the page.
Doitsu is offline   Reply With Quote