Firefox doesn’t understand anchor tags

| May. 12, 2009

No matter that anchor tags are some twenty years old, the Obama of web browsers, Firefox, managed to screw them up. If you want to jump to an <a name=”anchor_name”> tag, You need to wrap the stupid anchor in a stupid div because stupid Firefox only jumps to the top of the enclosing div, even if it’s the length of the entire stupid page, and not to the anchor tag itself.

This is how it should be:

<a name="anchor_name">

This is how clumsy Firefox needs it:

<div style="clear:both"><a name="anchor_name"></div>


3 Responses to “Firefox doesn’t understand anchor tags”

  1. Jason Franco says:

    Whoops! Looks like you just forgot to close the “a” tag there. 🙂 Try using in the future and it will work like a charm.

  2. coder42 says:

    Yea you did not close your Anchor tag.. regardless of that he is still right about FF fucking up Anchor tags. I found a bug where if you have a looping meta refresh (say something u might use to update a chat box) FF refuses to follow the anchor on a meta refresh. Its quite a pain in my ass.

  3. Mike Levine says:

    THANK YOU!!! I would never have thought of this solution. Much appreciated…. FF is indeed very poopy. This would have taken me forever….