字体图标不显示在IE11中 [英] Font icons not displaying in IE11

查看:1037
本文介绍了字体图标不显示在IE11中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的网站中使用字形作为字体,并且在"缓存清除刷新"之后它们不会显示。 (ctrl + F5),或点击"后退"按钮。如果我在网站内浏览,则会显示图标。


由于该网站位于私人内部网上,因此我无法在此处链接,但是,我看到的是同样的怪癖众所周知的网站,如glyphicons.com和getbootstrap.com/components/#glyphicons。



如果是帮助,我在Windows 7企业版,Service Pack 1上使用IE11(11.0.9600.17959)

解决方案


听起来你可能正在使用asp.net母版页,并且在你的母版页头部分中有错误的资源网址。还要确保已将所有更改"已发布"到localhost Cassini代理(VS使用的内置代理)。


f12>网络选项卡,单击开始按钮记录浏览器请求和响应....返回浏览器而不关闭开发工具并重复测试。观察网络选项卡中的任何错误代码。 (您将在
url的字体资源网址中查找〜。


您可以将您的本地网站发布到azure网站,以便我们更好地测试它。 / p>

问候。


I am trying to use glyphicons as a font within my site and they do not display after a "cache-clearing refresh" (ctrl+F5), or hitting the 'Back' button. If I browse within the site, the icons will display.

Since the site is on a private intranet, I can not link to it here, but I am seeing the same quirkiness on well-known sites such as glyphicons.com and getbootstrap.com/components/#glyphicons.

If it helps, I am using IE11 (11.0.9600.17959) on Windows 7 Enterprise, Service Pack 1

解决方案

Hi,

It sounds like you may be using asp.net master pages and have the wrong resource url in your master page head section. Also make sure that you have 'Published' all of your changes to your localhost Cassini proxy (the built-in proxy that VS uses).

f12>Networking tab, click the start button to record the browser requests and responses.... return to the browser without closing the dev tool and repeat your testing. Observer any error codes in the networking tab. (you will be looking for a ~ in the url of font resource url).

You could publish your local website to an azure website for us to better test it.

Regards.


这篇关于字体图标不显示在IE11中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆