Quote:
Originally Posted by Hitch
Yes, or, even simpler, same exact effect:
Code:
<h1>Chapter One</h1>
<p>Some text</p>
<h1 id="sec1c" title="Chapter One Contents"> </h1>
<h2 id="sec1">Section 1</h2>
<p>Some text</p>
<h2 id="sec2">Section 2</h2>
<p>Some text</p>
|
I guess the red bits are h1's and not h2's as you had. I'd rather put that dummy title right below the true <h1>, so it would point to the same place (for readers that can use the NCX properly). And I'd make sure it doesn't show at all in the main text, instead of introducing a (possibly unwanted) blank line plus margins. Oh, and that solution only works with Sigil (and maybe similar software), but ePubs can be created in so many different ways