Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Problems using @font-face CSS in Firefox 6.0.2

  • 2 respostas
  • 20 têm este problema
  • 19 visualizações
  • Última resposta por 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; }

Solução escolhida

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

Ler esta resposta no contexto 👍 2

Todas as respostas (2)

more options

Solução escolhida

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.