0

誰かがこの問題で私を助けることができます: 私はこのフォントを持っています:

@font-face {
    font-family: 'Museo500Regular';
    src: url('MuseoSans_500-webfont.eot');
    src: local('?'), 
    url('MuseoSans_500-webfont.woff') format('woff'), 
    url('MuseoSans_500-webfont.ttf') format('truetype'), 
    url('MuseoSans_500-webfont.svg#webfontr3rD8cn7') format('svg');
    font-weight: normal;
    font-style: normal;
}

それは webkit ブラウザーでは機能せず、その理由がわかりません... Firefox や IE などの他のブラウザーでは問題なく動作しますが、webkit でのみうまくレンダリングされません。

ここでは、ドロップダウン メニューを含むテスト ページの例を示します。たとえば、他のブラウザや google chrome のフォントを見てください。

http://mainpage.ueuo.com/

ありがとう。

4

3 に答える 3

1

あなたの MuseoSans_500-webfont.ttf をダウンロードしました。有効なフォントではないようです...またはサーバーに適切にアップロードされていません...もう一度アップロードしてください...

または、次のリンクにアクセスして、ur font-face css を生成します... http://www.fontsquirrel.com/fontface/generator

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

}
于 2012-10-25T11:51:01.893 に答える
0

の CSS 定義の11 行@font-face目にワイルドがあります (「 」を参照)。これにより、いくつかの問題が発生する可能性があります。}default.css

tableまた、レイアウトにa を使用しないでください。

于 2012-10-25T11:10:32.230 に答える
0

フォント名の単一引用符を削除します。単一のフォントは必要ありません。複数のフォントのみが必要です

font-family: Museo500Regular;
于 2012-10-25T15:53:29.873 に答える