css - Shift anchor tags in HTML generated from Markdown, by Jekyll -
I have a fixed navigation bar at the top of a web site I'm working on. It messes the anchor tag's position. I am aware of this problem, but I am not sure how I can apply it here.
Mart Down Source:
[Skip to Notes] (# Close-Notes). ### End Notes HTML generated by Jekyll:
& lt; P & gt; Go to & lt; A href = "#close-notes" & gt; Close notes & lt; / A & gt; & Lt; / P & gt; & Lt; H3 id = "closed-notes" & gt; Closing Notes & lt; / H3 & gt; Any consideration greatly appreciates.
It is now known that the method D works fine in my work, because the range -top or margin-top :
h3 range is not required -on: 50px solid transparent; Margin-top: -50px; }
Comments
Post a Comment