搜尋 Mozilla 技術支援網站

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

了解更多

Arial Black does not dispaly in FireFox???

  • 13 回覆
  • 14 有這個問題
  • 1 次檢視
  • 最近回覆由 TabulaMentis

more options

I have specified Arial Black in a CSS class. It displays in Chrome and IE but not in Firefox. Any reason for this? Is there a an extra bold font that I can use instead that FF will recognize? Thanks.

I have specified Arial Black in a CSS class. It displays in Chrome and IE but not in Firefox. Any reason for this? Is there a an extra bold font that I can use instead that FF will recognize? Thanks.

被選擇的解決方法

I've solved the problem myself--not sure how.

Here is the CSS that works:

.arialBlk13 { font-family: Arial Black, Helvetica, Verdana, sans-serif; color: #63706C; font-size: 11px; line-height: 21px; font-weight:900 }

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

所有回覆 (13)

more options

What is your CSS? This should work:

<p style="font-family: 'Arial Black', sans-serif">This is heavy.</p>

Or in a style sheet:

p.heavy {font-family: "Arial Black", sans-serif;}
more options

Here's my CSS:

.arialBlk13 { font-family: "Arial Black", "Verdana font-weight:bold", sans-serif; font-weight: bold; color: #63706C; font-size: 11px; line-height: 21px; }

And it doesn't work.

由 ripebanana 於 修改

more options

I've never seen font-weight embedded into font-family before. Do you notice any style warning in the Error Console (Ctrl+Shift+j) with that rule? Since you already have font-weight:bold in the rule, it seems redundant there. Can you test without it:

.arialBlk13 { font-family: "Arial Black", Verdana, sans-serif; font-weight: bold; color: #63706C; font-size: 11px; line-height: 21px; }
more options

The CSS I originally had had no other fonts or font attributes except for the Arial Black statement. And it dd not work. I have tried it again to be sure.

With the latest CSS below, the applied header text (website and phone #) defaults to Times Roman once again. You can see it here : http://brombergonline.com.

.arialBlk13 { font-family: "Arial Black"; color: #63706C; font-size: 11px; line-height: 21px; }

more options

On Windows you may need to add font-weight:900 to make Firefox use the "Arial Black" font.

more options

I just tried that and now get Times Roman Bold.

more options

I'm not sure why, but when I view the test page on my regular Firefox profile (which dates back many years), the Arial Black line is heavy, but on a new Firefox profile it is not, regardless of font-weight. Similar result for the real page.

Could be related to an add-on or non-obvious setting.

由 jscher2000 - Support Volunteer 於 修改

more options

Thanks. But the problem remains unsolved.

more options

Works here on Linux.

more options

選擇的解決方法

I've solved the problem myself--not sure how.

Here is the CSS that works:

.arialBlk13 { font-family: Arial Black, Helvetica, Verdana, sans-serif; color: #63706C; font-size: 11px; line-height: 21px; font-weight:900 }

more options

Great, now how do I apply this fix to Firefox or to the operating system?

more options

You can use Stylish or site specific code in userContent.css to override the font on specific web pages and specify your own CSS rules by using @-moz-document domain().

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


more options

I have Firefox on several notebook computer without any problem, however with a new HP notebook there is a problem the Arial Black font showing correctly. Is it the HP computer or FIrefox. It seems logical to me that it would be the HP computer? I still do not understand where I need to make the changes in Firefox to change the CSS rules?