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

}

これは Google Chrome では機能しますが、Internet Explorer では機能しません。IE でローカルに動作していますが、公開すると動作しません。

4

1 に答える 1

0

ポール アイリッシュは、この件に関して優れた記事を作成しました: Bulletproof font-face implementation

@font-face {
font-family: 'EntypoRegular';
src: url('Entypo-webfont.eot?') format('eot'), url('Entypo-webfont.woff') format('woff'),
url('Entypo-webfont.ttf') format('truetype');
}

于 2013-03-12T07:59:50.710 に答える