2017-12-07 7 views
1

私はアラビア語フォントの問題に直面しています。MozillaとクロームナッツはIE 11で正しく動作しません。私のコードは誰よりも下です。アラビア語フォントがIE 11で機能していませんか?

<!DOCTYPE html> 
    <html> 
    <head> 
     <style type="text/css"> 
     @font-face { 
      font-family: 'ArabicTwo_Bold'; 
      src: url('DroidKufi-Regular.eot?#iefix') format('embedded-opentype'), 

       url('ArabicSans_Bold.ttf') format('truetype'), 
       url('DroidKufi-Regular.woff') format('woff'), 
       url('DroidKufi-Regular.svg#ArabicTwo_Bold') format('svg'); 
     } 

     div , input { 
     font-family: ArabicTwo_Bold; 
     } 


     </style> 
    </head> 
    <body> 
     <input type='text' value='account 1 2 3' /> 
     <div> account 1 2 3 </div> 
    </body> 
    </html> 
+0

woff'も使用 '。 – locateganesh

+0

私は使用しましたが、動作しません。 – user1

+0

'div、input { font-family: 'ArabicTwo_Bold'; } ' この単一の' '' 'または' "" '引用符を入れます。 – locateganesh

答えて

1

のCss

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

} 

HTML

<!DOCTYPE> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 
    <style type="text/css"> 
        body{ 
       font-family: 'arabicsansbold'; 
         } 
     </style> 
</head> 

<body> 
<div id="container"> 
    <div id="header">ArabicSans Bold  123456</div> 


</div> 
</body> 
</html> 
関連する問題