本文介绍了为什么IE8不加载我的eot文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我下载了一些otf字体,然后将其转换为eot: https://onlinefontconverter.com ,但是当我查看该网站在IE8,字体不显示(它们显示在Chrome,Firefox,Opera,Android)。事情必须是错误的我的代码或eot。 I downloaded some otf fonts and then converted them to eot using: https://onlinefontconverter.com but when I view the site in IE8, the fonts do not show (they show in Chrome, Firefox, Opera, Android). Something must be wrong with either my code or the eot. Does anyone know what's wrong? (下载Roboto here: http://www.fontsquirrel.com/fonts/roboto ) (Download Roboto here: http://www.fontsquirrel.com/fonts/roboto ) (将其转换为 https://onlinefontconverter.com ) (Convert it here: https://onlinefontconverter.com ) STYLES.CSS 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;} index.html(相关代码) p> index.html (relevant code)<div class="myDiv">Some font in here that shows incorrectly as Arial!</div>样式表和字体位于同一个文件夹中。The stylesheet and font are in the same folder.推荐答案感谢所有的帮助。它看起来像问题是字体转换器。 eot文件未被IE识别为有效。感谢Joel Eckroth建议我尝试其他转换器。Thanks for all the help. It looks like the problem was the font converter. The eot file was not being recognized as valid by IE. Thanks to "Joel Eckroth" for suggesting I try other converters. 这篇关于为什么IE8不加载我的eot文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-10 09:04