Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více
Archivováno

@font-face bug in FireFox 5 on Windows XP

cor-el odpověděl(a)
produceresults

This is really a solution. So I have a website that I am working on and I am using the @font-face and FF5 would not load the font. Then all of a sudden it was loading one the homepage but not the subpages as I quickly went back and forth through the pages. The instaces were using the exact same CSS! How is this possible? IE, Safari, Opera, Chrome were all loading the font. So I banged my head against the wall and realized that I didn't have www. in front of my domain.

If you are using @font-face with FireFox 5 and it is not loading the font, try adding the www. if you are not using it. Which also means I have to create a redirect to all http://domain.com users to http://www.domain.com so they don't get this problem.

Check out this video for proof: http://www.screenr.com/NPSs

This is really a solution. So I have a website that I am working on and I am using the @font-face and FF5 would not load the font. Then all of a sudden it was loading one the homepage but not the subpages as I quickly went back and forth through the pages. The instaces were using the exact same CSS! How is this possible? IE, Safari, Opera, Chrome were all loading the font. So I banged my head against the wall and realized that I didn't have www. in front of my domain. If you are using @font-face with FireFox 5 and it is not loading the font, try adding the www. if you are not using it. Which also means I have to create a redirect to all http://domain.com users to http://www.domain.com so they don't get this problem. Check out this video for proof: http://www.screenr.com/NPSs

Všechny odpovědi (4)

I just encountered this issue too, thought I was going bonkers trying to debug my css!

Have raised a bug to help get it identified: https://bugzilla.mozilla.org/show_bug.cgi?id=677210

Upravil uživatel eddgrant dne

I hope this saved you some time.

You know, these forums should support sticky threads. Sticky threads always remain at their position and might contain solutions to problems affecting a large number of users (for example, a platform-specific issue) and new announcements.

This would make the task of many Firefox beginners easier, they would not have to ask a question and wait for some hours for the solution.

You can use HTTP access control to make that less strict.

Same-origin rule: By default, Firefox will only accept relative links. If you want to use absolute links or include fonts from different domains, you need to send these fonts with Access Control Headers.

Upravil uživatel cor-el dne