http://fwy.pagodabox.comCSS @ font-face URL tuyệt đối từ miền bên ngoài: phông chữ không tải trong firefox
http://friends-with-you.myshopify.com/
Tôi có phông chữ và css của tôi được lưu trữ trên một máy chủ pagodabox.com, và đang phát triển phần lưu trữ trên shopify. Tôi muốn sử dụng cùng một biểu định kiểu từ trang web được lưu trữ trên trang web cho trang web shopify. Nhưng phông chữ của tôi không tải trong firefox, phiên bản 13.0.1
Có vấn đề gì với FF hoặc với cú pháp của tôi không? Cảm ơn!!!
@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;
}
siêu. cảm ơn bạn! –
Làm theo hướng dẫn này trong trường hợp bạn muốn triển khai cùng một giải pháp trên nginx: http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx –
" Bạn không thể sử dụng @ font-face trong Firefox với phông chữ được lưu trữ trên một tên miền khác ". Tại sao phông chữ được Google Fonts phân phát hoạt động dưới firefox? Điều đó cho thấy có một công việc xung quanh khác hơn là cấu hình lại máy chủ? – artfulrobot