View Single Post
Old 06-24-2010, 12:58 PM   #4
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,104
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by brewt View Post
Santa claus attached:
My original xhtml source & css
calibre-zip file
calibre-generated epub.
Headlines show up as blue & underlined, like they were links, in ade (and apparently, all ade-derivitive softwares), but not in calibre viewer.
No doubt I've been doing something hideously wrong all along, but I have no idea what. Thoughts?

-bjc
In your original source you have an anchor <a> tag surrounding the Heading text, for use in the table of contents.

I haven't been able to find a clear statement that the text in such a tag shouldn't be displayed as a link if the tag doesn't have an href attribute (although it seems obvious that it shouldn't), so it not possible to say that ADE's behaviour is a definite bug.

I'd suggest adding the id attribute to your <h...> tags, rather than including an explicit <a> tag. If you really need to use the <a> tag instead, make it an empty <a id="" /> tag instead.
pdurrant is offline   Reply With Quote