View Single Post
Old 08-03-2013, 05:53 PM   #17
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DomesticExtremis View Post
This doesn't make sense to me - it implies that even if they were all h2, the first one in the book/page would act as a container.
Is that correct?
No. Not unless it had h3's beneath it, similarly structured to the h1-h2 examples above.

Quote:
What I was thinking was:

Code:
<h2 class="chapterheading">chapter 1</h2>
<p>intorductory text</p>
<h2 class="subheading">subheading</h2>
<p>etc</p>
With appropriate styling for the various h2 classes.
This seems to be what the OP does not want to do, for some reason. It seems that the H1 header has text immediately after it (like an introductory section), which is then followed by, Chapter 1, which the OP has structured as an H2, so that the ncx looks collapsible/outline-like in the NCX view (in ADE, Nook, etc.). However, when you do that, you can't use the h1 header, in the NCX, as a link to the actual content in the book. In other words, when you click the h1, (in the NCX TOC) it simply expands/collapses the underlying h2 TOC items. It won't take you to the h1 header, nor the text content, in the book. That's the issue, it seems.

Hitch
Hitch is offline   Reply With Quote