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
For Chrome/Safari/Firefox you could add a display: block and use a negative margin to compensate the offset, like:
display: block
a[name] { display: block; padding-top: 90px; margin-top: -90px; }
See example http://codepen.io/swed/pen/RrZBJo