2012-06-26, 03:58 PM
So, I'm using @font-face to provide some custom fonts on my forum. I eventually got them working in Chrome & Firefox by putting my @font-face declarations in the headerinclude rather than global.css... but now they don't work in IE. Here's my CSS code, as generated by fontsquirrel.com:
@font-face {
font-family: 'EBGaramondSC';
src: url('fonts/EBGaramondSC-webfont.eot');
src: url('fonts/EBGaramondSC-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/EBGaramondSC-webfont.woff') format('woff'),
url('fonts/EBGaramondSC-webfont.ttf') format('truetype'),
url('fonts/EBGaramondSC-webfont.svg#EBGaramondRegular') format('svg');
font-weight: normal;
font-style: normal;
}
I'm guessing it must be something with MyBB, because I have the same exact markup in a plain HTML file and it's working fine. Any thoughts?