http://fwy.pagodabox.comCSS @ font-face URL absolue du domaine externe: les polices ne se charge pas dans Firefox
http://friends-with-you.myshopify.com/
J'ai mes polices et css hébergé sur un serveur pagodabox.com, et je développe la section du magasin sur shopify. Je souhaite utiliser la même feuille de style du site hébergé par pagodabox pour le site shopify. Mais mes polices ne se chargent pas dans firefox, version 13.0.1
Y at-il un problème avec FF ou avec ma syntaxe? Merci!!!
@font-face {
font-family:'IcoMoon';
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.eot');
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.svg#IcoMoon') format('svg'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.woff') format('woff'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.ttf') format('truetype');
font-weight:normal;
font-style:normal;
}
@font-face {
font-family:'square';
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.eot');
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.eot?#iefix') format('embedded-opentype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.woff') format('woff'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.ttf') format('truetype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.svg#SquareSerifLightRegular') format('svg');
font-weight:normal;
font-style:normal;
}
super. Je vous remercie! –
Suivez ces instructions si vous souhaitez implémenter la même solution sur nginx: http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx –
" Vous ne pouvez pas utiliser @ font-face dans Firefox avec une police hébergée sur un domaine différent ". Pourquoi les polices utilisées par Google Fonts fonctionnent-elles sous firefox, alors? Est-ce que cela suggère qu'il y a un autre travail que de reconfigurer le serveur? – artfulrobot