搜尋 Mozilla 技術支援網站

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

了解更多

Firefox not displaying certain symbols

  • 5 回覆
  • 3 有這個問題
  • 30 次檢視
  • 最近回覆由 harrymfa

more options

I can't display certain symbols on Firefox. Example: does not show anything on the page I'm working on. However, a symbol like would show.

I discovered a hack that displays the symbol by changing the tag.

with an h1, h2 tag and so on, it will display the symbol. This hack, however is semantically incorrect and I don't want it in my site just so the symbol can display on Firefox. My site already has the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> just as this one.

Any suggestions?

I can't display certain symbols on Firefox. Example: <code><span>&equiv;</span></code> does not show anything on the page I'm working on. However, a symbol like <code> <span>&rsaquo;</span> </code> would show. I discovered a hack that displays the symbol by changing the tag. <code><h4>&equiv;</h4></code> with an h1, h2 tag and so on, it will display the symbol. This hack, however is semantically incorrect and I don't want it in my site just so the symbol can display on Firefox. My site already has the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> just as this one. Any suggestions?

由 harrymfa 於 修改

被選擇的解決方法

Hey everyone, I found the solution. Turns out, I noticed the font family in my CSS was written as helvetica -all lowercase. I changed it to Helvetica, and voila. The character shows fine in Firefox. Seems like Firefox is more unforgiving than other browsers how you define your fonts on CSS. Still, that doesn't explain how the character doesn't show on pages with certain tags using the default font, but my particular problem is solved.

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Sounds that Firefox is using a font that can't display the ≡ (&#x2261;)

You can use this extension to see which fonts are used for selected text.

more options

The CSS was set with Helvetica or sans serif. I rendered it with no CSS and the default font still won't display it.

more options
more options

Okay, so this is what I did: I took the whole source code of that page http://en.wikibooks.org/wiki/Unicode/Character_reference/2000-2FFF which displays all the symbols correctly, but as soon as I changed the symbol tag from td to span it vanished. So it looks that when wrapped on some tags, the symbols won't display.

A little more information, I'm working on a Wordpress theme, but I did a plain HTML page with the same results. The symbol displays on Safari, Chrome and Opera, I'm yet to try it on IE.

more options

選擇的解決方法

Hey everyone, I found the solution. Turns out, I noticed the font family in my CSS was written as helvetica -all lowercase. I changed it to Helvetica, and voila. The character shows fine in Firefox. Seems like Firefox is more unforgiving than other browsers how you define your fonts on CSS. Still, that doesn't explain how the character doesn't show on pages with certain tags using the default font, but my particular problem is solved.

由 harrymfa 於 修改