Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/227.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
引导图示符图标显示,但IE11抛出CSS3111错误_Css_Twitter Bootstrap_Internet Explorer_Twitter Bootstrap 3_Internet Explorer 11 - Fatal编程技术网

引导图示符图标显示,但IE11抛出CSS3111错误

引导图示符图标显示,但IE11抛出CSS3111错误,css,twitter-bootstrap,internet-explorer,twitter-bootstrap-3,internet-explorer-11,Css,Twitter Bootstrap,Internet Explorer,Twitter Bootstrap 3,Internet Explorer 11,引导glyphicon显示良好,但IE11控制台报告这些文件的CSS3111:@font-face遇到未知错误: glyph-halflings-regular.eot glyph-halflings-regular.woff glyph-halflings-regular.ttf 这是我的样式表中的引导覆盖(仅更改了URL路径): 旁注: 如果我添加!重要信息在第一个srcurl之后,图标不会显示 @font-face { font-family: 'Glyphicons Hal

引导glyphicon显示良好,但IE11控制台报告这些文件的
CSS3111:@font-face遇到未知错误

  • glyph-halflings-regular.eot
  • glyph-halflings-regular.woff
  • glyph-halflings-regular.ttf

这是我的样式表中的引导覆盖(仅更改了URL路径):

旁注: 如果我添加
!重要信息
在第一个
src
url之后,图标不会显示

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../../vendor/bootstrap/fonts/glyphicons-halflings-regular.eot') !important;
...}
使用Bootstrap 3.3.4,IE11


如何消除错误?

我想这会对您有所帮助

而这些,

如果可能有助于解决神秘错误,请尝试此方法


现在集成了FontForge上的解决方案,因此您可以使用它来转换字体。

这可能与名为不受信任字体阻止的组策略设置有关。请在此处阅读更多信息:

我想这会对您有所帮助。。。我不希望修改第三方文件(根据您的回答,这是Bootstrap的.eot文件)。我不想在构建过程中添加不必要的步骤。如果有人可以验证这确实是一个引导问题,那么我将在他们的GitHub repo上存档。请。。。欢迎您再来。。。在那里制造问题。。。如果你得到了一个合适的解决方案,请在这里发布解决方案。。。这对我们来说真的太好了。。。
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../../vendor/bootstrap/fonts/glyphicons-halflings-regular.eot') !important;
...}