View Single Post
Old 08-29-2011, 10:21 PM   #26
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,105
Karma: 148951733
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by virtual_ink View Post
Thanks Harry, this sounds like the problem. I've tried your fix but am having problems as my H tags contain the following:

<h1><id="toc_marker-2" class="chapterheader"><span class="Bold">Chapter 1<br/>Subheading for Chapter 1</span><span class="Bold-Italic">including these bold itals within the subtitle</span><span class="Bold"> subtitle continues in roman bold</span></h1>

I've tried switching this to:

<id="toc_marker-2"/> <class="chapterheader"><span class="Bold"><h1>Chapter 1<br/>Subheading for Chapter 1</span><span class="Bold-Italic">including these itals within the subtitle</span><span class="Bold"> subtitle continues in roman bold</h1></span>

But it won't validate. here's the error message:
Element type "id" must be followed by either attribute specifications, ">" or "/>".
Change to...

<h1 id="toc_marker-2" class="chapterheader"><span class="Bold">Chapter 1<br/>Subheading for Chapter 1</span><span class="Bold-Italic">including these bold itals within the subtitle</span><span class="Bold"> subtitle continues in roman bold</span></h1>

That should work as it will jump to the h1 tag and not after it.
JSWolf is online now   Reply With Quote