skewo Posted January 11, 2012 Share Posted January 11, 2012 Bonjour, Je rencontre un bug avec mon site dès que j'active CCC pour les feuilles de style. J'utilise des typos importées @font-face. Une fois CCC activé, les typos ne passent plus sur Firefox et Explorer. (elles sont pourtant chargées dans firebug) Pas de soucis avec Safari et Chrome. Quelqu'un a déjà rencontré ce problème car là je sèche complètement ? 1 Link to comment Share on other sites More sharing options...
Audrius Posted January 4, 2013 Share Posted January 4, 2013 Hi. I have the same problem. Link to comment Share on other sites More sharing options...
Audrius Posted January 4, 2013 Share Posted January 4, 2013 (edited) Found a solution. Modify .htaccess file and add: # css CCC font-face fix on firefox & chrome <IfModule mod_headers.c> <FilesMatch ".(woff|eot|svg|ttf|otf)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> Edited January 4, 2013 by Audrius (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now