* Return the offset amount to deduct from the normal scroll position. All rights reserved. What differentiates living as mere roommates from living in a marriage-like relationship? I ran into this same issue and ended up handling the click events manually, like: StackExchange.ready(function(){$.get("https://stackoverflow.com/posts/10732690/ivc/acfd");}); Read More Is there hash code function accepting any object type?Continue, Read More Generating source maps from browserify using gruntContinue, Read More Is it possible to map only a portion of an array? My inner elements had a fragile CSS structure and implementing a position relative / absolute play, was completely breaking the page design. Change the top value to match the height of your fixed header (or more).Now I assume this would work with other elements as well. Can I use an 11 watt LED bulb in a lamp rated for 8.6 watts maximum? Effect of a "bad grade" in grad school applications. h3 span Which reverse polarity protection is better and why? value, as well as auto, where the user agent determines the offset as 0px. I am trying to get the right position of an anchor with a fix header but it won't work. */ }, 7 Answers Sorted by: 23 At first, it's better to use blocks with id instead of name it's more standard way. In all likeliness there is another solution that is even better if you know of such a solution, please feel free to share in the comments. 2257. How can I set the default value for an HTML