It really doesn’t seem to follow any reasoning. It also seems to be a known issue that is on QuirksMode … but not really sure…
So on the forum there was a fix to put your css file at the document root… wtf … why?
So here is a link in my site … works in Firefox fine, but not in Safari … not really sure why… anyone anyone anyone…
Now this may be a hack but you can use JavaScript to solve the problem.
.
//call when page loads
window.onload = jumptoanchor;
//
//jumps to anchor
function jumptoanchor()
{
//test for anchor existence
if(window.location &&
window.location.href.match(/#(\w.+)/))
{
//jump to anchor
window.location.hash=
window.location.href.match(/#(\w.+)/)[1];
}
}
Basically when the page loads, it checks the url for an anchor, if one exist, use JavaScript to go there. I am not using on my site because I consider this a broken behavior in Safari, but in the work world i just might.
bonus bookmarklet: when you have gone to page with an anchor and you have moved around ... converting the above code to a bookmarklet... makes it easy to find original anchor:
db: reposition