I have a problem with the font-squirell generated @font-face code for one of my sites. The font doesn't show up in Internet Explorer 7. With other browsers it works nicely. The address is: http://www.mrsherskin.com
@font-face {
font-family: 'PFRondaSeven';
src: url('font/pf_ronda_seven-webfont.eot');
src: url('font/pf_ronda_seven-webfont.eot?iefix') format('eot'),
url('font/pf_ronda_seven-webfont.woff') format('woff'),
url('font/pf_ronda_seven-webfont.ttf') format('truetype'),
url('font/pf_ronda_seven-webfont.svg#webfont7vFUbybx') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PFRondaSeven';
src: url('font/pf_ronda_seven_bold-webfont.eot');
src: url('font/pf_ronda_seven_bold-webfont.eot?iefix') format('eot'),
url('font/pf_ronda_seven_bold-webfont.woff') format('woff'),
url('font/pf_ronda_seven_bold-webfont.ttf') format('truetype'),
url('font/pf_ronda_seven_bold-webfont.svg#webfont2zOjOL6G') format('svg');
font-weight: bold;
font-style: normal;
}
/* basic font-set */
body { font-family: 'PFRondaSeven'; font-size-adjust: 0.62; }
It's strange because I have another site that I made with this method and it works perfectly.
Any help, please? What could be the problem?
Try this instead :
Replacing the font with your own of course and adding a declaration for the bold font too. It should work ;)
Are you making sure the eot file has the correct mimetype?
I usually add this to my .htaccess file (or equivalent on different software)
If it works IE9 but not IE7/8, one of the problem might be incorrect format of eot. I have fixed it with "Fontsquirrel, @font-face generator Expert Mode". Check "Protection: WebOnly"