Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

تلاش سپورٹ

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Problems using @font-face CSS in Firefox 6.0.2

  • 2 جواب دیں
  • 20 میں یہ مسئلہ ہے
  • 19 دیکھیں
  • آخری جواب بذریعہ DarrenUtteridge

more options

I am using this CSS code below for @font-face Web Fonts. They work in all other browsers except for Firefox 6.0.2

Can you please help me with this problem?

@font-face {

font-family: 'Anime Ace';
src: url("./fonts/AnimeAceBold.eot"); /* EOT file for IE */

}

@font-face {

font-family: 'Anime Ace';
src: url("./fonts/AnimeAceBold.ttf") format("truetype");/* TTF file for CSS3 browsers */

}

h1 { font-family: 'Anime Ace', sans-serif; color: #F5F5BE; font-size: 1.5em; }

I am using this CSS code below for @font-face Web Fonts. They work in all other browsers except for Firefox 6.0.2 Can you please help me with this problem? @font-face { font-family: 'Anime Ace'; src: url("./fonts/AnimeAceBold.eot"); /* EOT file for IE */ } @font-face { font-family: 'Anime Ace'; src: url("./fonts/AnimeAceBold.ttf") format("truetype");/* TTF file for CSS3 browsers */ } h1 { font-family: 'Anime Ace', sans-serif; color: #F5F5BE; font-size: 1.5em; }

منتخب شدہ حل

Try to use absolute paths for the fonts to see if that works to avoid possible cross domain issues.

اس جواب کو سیاق و سباق میں پڑھیں 👍 2

تمام جوابات (2)

more options

منتخب شدہ حل

Try to use absolute paths for the fonts to see if that works to avoid possible cross domain issues.

more options

Thank you for your answer. It solved the problem.