View Single Post
Old 12-20-2011, 11:45 PM   #56
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
There are (at least) two ways to solve this. One is to make each chapter a new file, and use the file-name as the link URL. The other is to make sure your anchor comes before the header tag. Liz Castro's HTML book often uses <h2><a id = "chap03">Chapter 3</a></h2> -- which causes this problem for some html parsers, I think. Try using <a id="chap03" /><h2>"Chapter 3"</h2> - I'm not sure of this second way because I have always made each chapter a separate file.
pholy is offline   Reply With Quote