I used to link my fonts directly to Google's API, which worked fine. Now I see that my fonts don't display properly on certain browsers and operating systems. I downloaded the fonts and converted them with fontsquirrel for web usage. After copying the converted files into my site's directory and pasting the @font-face CSS into my style sheet, the fonts don't show up in any browser. Please help.
The CSS is like this:
@font-face {
font-family: 'titillium_webregular';
src: url('titilliumweb-regular-webfont.eot');
src: url('titilliumweb-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('titilliumweb-regular-webfont.woff') format('woff'),
url('titilliumweb-regular-webfont.ttf') format('truetype'),
url('titilliumweb-regular-webfont.svg#titillium_webregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'ralewaybold';
src: url('raleway-bold-webfont.eot');
src: url('raleway-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('raleway-bold-webfont.woff') format('woff'),
url('raleway-bold-webfont.ttf') format('truetype'),
url('raleway-bold-webfont.svg#ralewaybold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'ralewayregular';
src: url('raleway-regular-webfont.eot');
src: url('raleway-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('raleway-regular-webfont.woff') format('woff'),
url('raleway-regular-webfont.ttf') format('truetype'),
url('raleway-regular-webfont.svg#ralewayregular') format('svg');
font-weight: normal;
font-style: normal;
}
My fonts are in the main site directory, but my stylesheet is a seperate folder within the main directory (I don't know if this matters at all).