Quote:
Originally Posted by Jellby
It depends on what the "hidden" class does. I guess you have defined it with "display: none". In that case the behaviour is not unexpected. "display: none" removes the title from the flow, so the anchor is nowhere.
|
Oh, my apologies -- indeed that was what that class was, nothing more than "display: none".
Quote:
Or you can try to make sure the title is not displayed, without using "display: none" (try "visibility: hidden", plus removing all height and margins, but this is not a required property in ePub 2 renderers).
|
That seems to have worked! I made a new class...
Code:
.hidhead {
visibility: hidden;
margin: 0;
line-height:0;
}
...and now all my links work just fine in iBooks (as they did before in ADE) -- except now in both iBooks and ADE, despite my setting margins and line height at zero, they
both inadvertently add in extra space where that hidden <h2> is, i.e. like a blank line added in there (I even just added in "padding:0", too, and that doesn't help any).