为什么IE8没有加载我的eot文件?

Don*_*mmy 8 html css fonts internet-explorer internet-explorer-8

我下载了一些otf字体,然后将它们转换为eot使用:https://onlinefontconverter.com 但是当我在IE8中查看该网站时,字体不显示(它们显示在Chrome,Firefox,Opera,Android中).我的代码或eot都必须出错.有谁知道什么是错的?

(在此下载Roboto:http://www.fontsquirrel.com/fonts/roboto)

(在此处转换:https://onlinefontconverter.com)

styles.css的

@font-face
{
    font-family: RobotoCondensed;
    src: url("Roboto-Condensed.eot");
}

@font-face
{
    font-family: RobotoCondensed;
    src: url("Roboto-Condensed.ttf");
}

.myDiv
{
    font-family: RobotoCondensed, Arial, Helvetica;
    font-size: 10px;
    color: #e8e8e8;
}
Run Code Online (Sandbox Code Playgroud)

index.html(相关代码)

<div class="myDiv">Some font in here that shows incorrectly as Arial!</div>
Run Code Online (Sandbox Code Playgroud)

样式表和字体位于同一文件夹中.

Don*_*mmy 4

感谢您的所有帮助。看起来问题出在字体转换器上。IE 未将 eot 文件识别为有效文件。感谢“Joel Eckroth”建议我尝试其他转换器。