I have a problem with custom fonts. It worked fine in chrome,firefox and IE on the localhost, but when uploaded and the site is viewed live, chrome and firefox switch to default fonts, however IE displays the custom font perfectly.
I have this code in my style sheet:
Code:
@font-face
{
font-family: Gill Sans;
src: url('fonts/GIL_____.eot');
src: local(GIL_____), url('fonts/GIL_____.ttf') format('opentype');
}
the font files are in the relative server directory
I have tried various combinations of positions of the file in the directory structure but none of it works.
I have also tried defining the font-family internally but to no avail.
You can view the site
here, it is only about 15% complete and I have uploaded it to a another folder on a domain I already have another website on just for testing purpose's, (could this be part of the issue?)