Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
Open

How can I stop the underlining of URLs in Firefoxby using text-decoration in my pages?

amoun replied
prhybert

Until a few months ago, I was able to turn off the underlining of URLs in web pages that I create. But within the last few months, all URLs appear as underlined, even in documents where they had NOT been underlined a few months ago. I am using the text-decoration setting to control this aspect. Look at page https://www.w3schools.com/CSS/tryit.asp?filename=trycss_link2 in the Edge browser, and see the "This link changes text-decoration" change between underlined and not as the cursor is moved on and off of that sentence in the middle box. Now look at the above page in latest Firefox. Moving the cursor on and off of the "This link changes text-decoration" sentence causes NO change to that sentence -- it always is underlined.

I refer to the w3schools.com website when I wish to learn about a new-to-me feature, and I have found their site to be accurate in the past.

Until a few months ago, I was able to turn off the underlining of URLs in web pages that I create. But within the last few months, all URLs appear as underlined, even in documents where they had NOT been underlined a few months ago. I am using the text-decoration setting to control this aspect. Look at page https://www.w3schools.com/CSS/tryit.asp?filename=trycss_link2 in the Edge browser, and see the "This link changes text-decoration" change between underlined and not as the cursor is moved on and off of that sentence in the middle box. Now look at the above page in latest Firefox. Moving the cursor on and off of the "This link changes text-decoration" sentence causes NO change to that sentence -- it always is underlined. I refer to the w3schools.com website when I wish to learn about a new-to-me feature, and I have found their site to be accurate in the past.

所有回覆 (1)

Under Settings > Accessiblity do you have [Always underline links] disabled.

Else you can use [userContent.css] to ensure no sites can underline a link

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題