Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple Stylesheets break anchor links #31
Some more fun and games, in ADE 1.7 if multiple CSS sheets are referenced by the same HTML page, internal hyperlinks will go to the top of that HTML page, NOT the specific anchor.
Never did extensive testing, so unsure if it was the presence of multiple CSS sheets, or the fact that the second one was for mobi.
It's actually worse… (and it still lives in BlueFire for instance)
Say you've got an HTML file A with a link to another HTML File B:
So it doesn't only impact one HTML file but 2 when 1 of them got multiple stylesheets.
I've actually experienced that this morning for an ePub 3 file as I usually put everything “progressive enhancement” is a separate CSS file. So:
Now, the file with the id got one single stylesheet… only the other one got 2. So it also impacts a file with one stylesheet if the link is in another xhtml file which got 2.