简体   繁体   English

Bootstrap glyphicons公文包未在IE浏览器中显示

[英]Bootstrap glyphicons briefcase not showing in IE Browser

Here is html code for bootstrap icon, Bootstrap v3.3.4 这是bootstrap图标,Bootstrap v3.3.4的html代码

 <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>

this html code is working fine with all browsers, i can see briefcase icon properly. 这个HTML代码适用于所有浏览器,我可以正确看到公文包图标。 But with same code after developing in MVC Platfrom i can't see briefcase icon on IE and Safari (Windows). 但是在MVC Platfrom开发后使用相同的代码我无法在IE和Safari(Windows)上看到公文包图标。 this problem with few other icon also like content = "\\e136" , content = "\\e142" 这个问题与其他几个图标也像content = "\\e136"content = "\\e142"

Developed Code in MVC: 在MVC中开发代码:

在此输入图像描述

Simple HTML Code 简单的HTML代码

在此输入图像描述

Maybe this post will answer your question : here 也许这篇文章会回答你的问题: 这里

adding 加入

<!--[if lt IE 9]>
<script src="html5shiv.js"></script>
<script src="respond.min.js"></script>
<![endif]-->

Could solve your problem, by the way, which IE version are you using? 顺便说一下,你可以解决你的问题吗?

EDIT: then it could be IE security issue : here 编辑:那么它可能是IE安全问题: 这里

You need to include 你需要包括

< !--[if lt IE 9] >
< script src="html5shiv.js">
< script src="respond.min.js">
< ![endif]-- >

Or 要么

<link rel="stylesheet" media="screen" href="/css/glyphicons/glyphicons.min.css" >

OR 要么

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM