搜尋 Mozilla 技術支援網站

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

Learn More

How do I make XHTML link typography work properly in Firefox ?

more options

I have started learning about HTML and XHTML, and I'm having problems making Firefox display link typography properly. For instance, when defining link typography using CSS, Firefox does not change link text colours as defined. If I want a yellow link text, the normal HTML code as displayed below, does not work. How can I make Firefox display link typography as defined ? Thank you.

The HTML code :

I have started learning about HTML and XHTML, and I'm having problems making Firefox display link typography properly. For instance, when defining link typography using CSS, Firefox does not change link text colours as defined. If I want a yellow link text, the normal HTML code as displayed below, does not work. How can I make Firefox display link typography as defined ? Thank you. The HTML code :

所有回覆 (2)

more options

Apparently, due to an error, the last part of my message was omitted. The HTML code in question was :

a:link

more options

Please use http://pastebin.mozilla.org to put the entire page code in, and also paste the output of Tools -> Error Console for that page.