Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

সহায়তা খুঁজুন

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.

আরও জানুন

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

All Replies (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.