View Single Post
Old 02-22-2022, 07:49 PM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Turtle91 View Post
I use display:none when I don't want to see the header on a page.

<h2 style="display:none" title="Copyright"></h2>

I have heard however, that Kindle doesn't like that. I'm not sure if they just ignore it or what??
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)
jhowell is offline   Reply With Quote