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".

Learn More

Problems using @font-face CSS in Firefox 6.0.2

  • 2 trả lời
  • 20 gặp vấn đề này
  • 34 lượt xem
  • Trả lời mới nhất được viết bởi 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; }

Giải pháp được chọn

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

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

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.