0

I have the website, based on wordpress, which uses my own theme. The problem is that when I open site in the IE, in the console I receive error CSS3117 about "cross-origin request".

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

Fonts are in the same directory as styles etc, morever when I open that font by direct url, font is found properly. So it is strange that cross-domain problem appears. Any ideas?

4

1 回答 1

1

I believe you'll find the answer in this prior post on cross-origin web fonts and IE.

于 2013-09-20T20:52:52.203 回答