View Single Post
Old 12-19-2018, 12:46 PM   #1
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Links in TOC don't take to the right ID

What can cause links in the TOC not to send to the right location?

My epub3 is built with Calibre, I've run Calibre check book and epub validator and the books tested ok.

If I open the book in Calibre/iBooks and click on a TOC item I am redirected to the corresponding file but the HTML tag (<h1) didn't appear on top of my screen, basically, the TOC link just takes me to the right file.

The TOC link looks like this:
Code:
<ol>
    <li>
      <a href="intro.xhtml">Intro</a>
      <ul>
        <li><a href="intro_1.xhtml#toc_1">TakeMeThere</a></li>
      </ul>
    </li>
</ol>
The heading tag looks like this:
Code:
<h1 id="toc_1">Welcome</h1>
What could cause this not to work?
odedta is offline   Reply With Quote