Different Browsers

  • 1
  • Question
  • Updated 7 years ago
I have a link "Back to Top" at the bottom of most of my pages. It works fine in IE but not with Firefox. What is my problem?
Photo of Jane


  • 86 Posts
  • 5 Reply Likes
  • undecided

Posted 7 years ago

  • 1
Photo of SilverX


  • 492 Posts
  • 40 Reply Likes
Can you post the code ? Since it's working in IE, anchors shouldn't the problem. Are you using IE6 ?
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes

Hi, if you want to do Back to top, you should use this code:

<a href="#top" onclick="location.href='#top';return false;">Back to top</a>

and then at the top of the page put this:

<a name="top"></a>

If this still does not work please let me know.


Can you post the code you are using too?

Please remember to post your code with <!-- and --> wrapped around it, like this:




This is so we can see the code you post.

I hope this helps!
Photo of diane


  • 1238 Posts
  • 121 Reply Likes
Hi, Jane,

Have you tried Nathan's suggestion? Please let us know if you need further assistance.