user1410089
user1410089

Reputation: 11

@Font-Face Internet Explorer - Firefox same domain

I tried everything and i can't get working.

This is a part of my @font-face code:

@font-face {
font-family: 'font';
src: url('font-regular-webfont.eot');
src: url('font-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('font-regular-webfont.woff') format('woff'),
url('font-regular-webfont.ttf') format('truetype'),
url('font-regular-webfont.otf') format('opentype'),
url('font-regular-webfont.svg#font') format('svg');
font-weight: normal;
font-style: normal;
}

It works in Chrome and Safari but don't works in IE and firefox. Fonts and css are in the same domain and i allways use relative paths.

Upvotes: 1

Views: 268

Answers (1)

Font Squirrel
Font Squirrel

Reputation: 1571

Make sure all font formats are included in your IIS server environment. IIS does not include .woff by default. Confirm that EOT, TTF and SVG are there as well.

Upvotes: 1

Related Questions