If I have a non-scrolling header in an HTML page, fixed to the top, having a defined height:
Is there a way to use the URL anchor (the #fragment part) t
#fragment
I found I had to use both MutttenXd's and Badabam's CSS solutions together, as the first did not work in Chrome and the second did not work in Firefox:
a.anchor { padding-top: 90px; } a.anchor:before { display: block; content: ""; height: 90px; margin-top: -90px; } Shipping (United States) ...