Bug #6071
closedScroll to anchorId hidden by the fixed KNB header
0%
Description
At one point the CSS correctly included padding for the anchors that get scrolled to, but it looks like the problem came back. In this example you can see that the <h2><a> is hidden by the header:
http://knb.ecoinformatics.org/m/#about/understanding-metadata
Updated by ben leinfelder about 11 years ago
- Description updated (diff)
- Assignee set to Lauren Walker
- Priority changed from Normal to High
Updated by Lauren Walker about 11 years ago
- Status changed from New to Closed
I vertically offset the anchors by the same height as the header so that they scroll to the correct place.
Updated by ben leinfelder about 11 years ago
- Status changed from Closed to In Progress
I rearranged it to be "simpler" by moving the "top" property into a[name]. Unfortunately this shifts content around in the EML documentation.
See:
http://localhost:8080/metacatui/index.html#external//emlparser/docs/eml-2.1.1/eml-resource.html#i18nNonEmptyStringType
Would be nice if those docs scrolled correctly and did not get garbled in their overlays.
Updated by Lauren Walker about 11 years ago
- Status changed from In Progress to Closed
I changed the markup in the EML documentation so that it will work with the fixed KNB header - just moved the empty anchor tag to right before the heading and in the KNB CSS I offset it vertically by the same height as the header