View Single Post
Old 02-24-2022, 11:15 AM   #13
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by jhowell View Post
Amazon does not accept a TOC entry pointing to content styled as display:none.
For example if the NCX has:<content src="Text/Chapter01.xhtml#chap01"/>

with HTML content:<h3 id="chap01" style="display: none">Chapter 1</h3>

it will be rejected with the error:E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:none)

Cool - I only use that display:none with headings that appear at the top of the page. Sigil's auto TOC algorythm, IIRC, just links those to the top of the page rather than directly to the <h>.
Turtle91 is offline   Reply With Quote