搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Links to other locations on same web page not working in FF6

  • 6 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 Lou Smith

more options

On my 32 bit Windows 7 machine with 4 GB of RAM, all links worked with FF up through version 5 and links to other pages and/or sites still work in FF6 but not those to the same page (bookmarks). Load the same page in ie8 or ie9 and those links work perfectly.

On my 32 bit Windows 7 machine with 4 GB of RAM, all links worked with FF up through version 5 and links to other pages and/or sites still work in FF6 but not those to the same page (bookmarks). Load the same page in ie8 or ie9 and those links work perfectly.

被選擇的解決方法

You need a clear style rule for DIV#footer because DIV#contents is a floating DIV.

#footer { clear: both; }
從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

Is that only happening on specific websites or does it happen all the time?

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

more options

Safe Mode had no effect. However, I added a link on the page to another site in order to see if it was only the "bookmark" (same page) link that wasn't working. As it turns out, neither type of link works in FF6 but they do work in ie9.

So I tested another site built by me and the links work perfectly. I also tested both pages on another computer using both browsers and got the exact same results.

It is obvious that something about the pages on the new site are in conflict with FF6 but not with ie9 but, I can find no differences in the way the page is set up (including the DOCTYPE) or in the way the links are built. Any suggestions about where to look would be most appreciated.

Thank you.

more options

Can you provide a hyperlink to a webpage where you are having that problem?

There was a change as of Firefox 4 in the way links on a webpage to another section of the same webpage work. I have come across a few webpages myself where they didn't work properly in a 4.0+ version of Firefox.

more options

http://procare2.com is a work in process and right now, I've got two bookmark links at the bottom of the page that simply return to the top of the page and both "buy boxes" are linked to another of my sites just for testing.

more options

選擇的解決方法

You need a clear style rule for DIV#footer because DIV#contents is a floating DIV.

#footer { clear: both; }
more options

Thanks for seeing that cor-el. I always clear the footer and don't know why I missed it this time. Do you have any idea why it worked in ie9?

Anyway, thanks so very much. Good catch.