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

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm
Đã lưu trữ

@font-face bug in FireFox 5 on Windows XP

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

Tất cả các câu trả lời (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

Được chỉnh sửa bởi eddgrant vào

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.

Được chỉnh sửa bởi cor-el vào