I have the following CSS that works within Firefox but not IE. Obviously, the fonts are within the directory. Any suggestions?
@font-face {
font-family: "Futura";
src: url("../fonts/Futura_Medium_BT.eot"); /* IE */
src: local("Futura"), url( "../fonts/Futura_Medium_BT.ttf" ) format("truetype"); /* non-IE */
}
body nav {
font-family: Futura, Verdana, Arial, sans-serif;
font-size:1.2em;
height: 40px;
}
For IE > 9 you can use the following solution:
I have found if the font face declarations are inside a media query IE (both edge and 11) won't load them; they need to be the first thing declared in the stylesheet and not wrapped in a media query
You could use the Google Font API. They say it works from IE 6 and up. (I've not tested this.)
From http://readableweb.com/mo-bulletproofer-font-face-css-syntax/
I read a lot of tutorials that suggested hacks, so I came up with this solution I think is better... It seems to work fine.
If you're still having troubles with this, here's your solution:
http://www.fontsquirrel.com/fontface/generator
It works far better/faster than any other font-generator and also gives an example for you to use.