You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wanting to generate a PDF with some company branding information in the footer of each page, including a link to our website. I'm using a running element for the footer.
If I add an <a href="...."> tag within the footer, the actual content of the tag is rendered just fine, and the link text appears in the footer of each page, as expected.
However, the actual clickable "hotspot" of the anchor tag is not "over" the link. The X position seems correct, but the Y position appears to have been reset to 0 (ie the top of the page).
For an example, see the attached test case. You'll see that the footer link in the @bottom-center part of the page renders fine, including with a border around the element, all as expected. However, that link is not clickable - if you move your mouse up to the top of the content area (the lorem ipsum), you'll see the actual hotspot for that <a> tag is misplaced - it's right at the top of the content, in the middle of the first line of body copy.
I've just pushed correcting code. The problem was that we hadn't considered links in the margin areas. I also found another (unfixed) problem. Links containing only an image will not be rendered unless the surrounding link is marked display:inline-block or anything other than inline. It's a bug, but because the workaround is so simple, low priority to fix.
Thanks for your detailed test-case. It made it relatively easier to find and fix the problem.
I'm wanting to generate a PDF with some company branding information in the footer of each page, including a link to our website. I'm using a running element for the footer.
If I add an
<a href="....">
tag within the footer, the actual content of the tag is rendered just fine, and the link text appears in the footer of each page, as expected.However, the actual clickable "hotspot" of the anchor tag is not "over" the link. The X position seems correct, but the Y position appears to have been reset to 0 (ie the top of the page).
For an example, see the attached test case. You'll see that the footer link in the @bottom-center part of the page renders fine, including with a border around the element, all as expected. However, that link is not clickable - if you move your mouse up to the top of the content area (the lorem ipsum), you'll see the actual hotspot for that
<a>
tag is misplaced - it's right at the top of the content, in the middle of the first line of body copy.misplaced-links-in-footer.txt
The text was updated successfully, but these errors were encountered: