View Single Post
Old 06-25-2020, 09:09 AM   #149
Land_Outcast
Enthusiast
Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!Land_Outcast rocks like Gibraltar!
 
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
Quote:
Originally Posted by Turtle91 View Post
Yes, I also use this technique when I don't want, or can't have, a visual representation on the page but still need the structural definition of a header...and the functionality of an auto-generated TOC.

eg.
Code:
<h2 title="Copyright" style="display:none" />
For what it is worth, I just discovered “display:none” in a heading (h#) generates problems in conversion to kindle format:

Quote:
["E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:none):/tmp/mobi-1Mmqfm/OEBPS/Text/EBOOK_PAEZ_VILARO-Entre_mi_hijo_y_yo_la_luna-1.xhtml#_idParaDest-1", "E24001: The table of content could not be built.", "W14001: Hyperlink not resolved: /tmp/mobi-1Mmqfm/OEBPS/Text/EBOOK_PAEZ_VILARO-Entre_mi_hijo_y_yo_la_luna-1.xhtml#_idTextAnchor000", "W14002: Some hyperlinks could not be resolved."]

Last edited by Land_Outcast; 06-25-2020 at 12:41 PM.
Land_Outcast is offline   Reply With Quote