搜尋 Mozilla 技術支援網站

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

了解更多

internal document hyperlinks not working

  • 2 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I have created an html web page with internal hyperlinks to parts of the page e.g. <a href="#qm_1.0">QM. 1.0 </a> linking to <a name="#qm_1.0">QM 1.0 </a>. These links work fine in IE but not with Firefox. Hyperlinks to other pages are ok.

I have created an html web page with internal hyperlinks to parts of the page e.g. <a href="#qm_1.0">QM. 1.0 </a> linking to <a name="#qm_1.0">QM 1.0 </a>. These links work fine in IE but not with Firefox. Hyperlinks to other pages are ok.

被選擇的解決方法

That is this code:

<a href="#qm_1.0">QM. 1.0 </a> linking to <a name="qm_1.0">QM 1.0 </a>
從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

Remove the # from the name, and you should be using id= in either case no #

Use # only on the link.

more options

選擇的解決方法

That is this code:

<a href="#qm_1.0">QM. 1.0 </a> linking to <a name="qm_1.0">QM 1.0 </a>