簡體   English   中英

Bootstrap glyphicons公文包未在IE瀏覽器中顯示

[英]Bootstrap glyphicons briefcase not showing in IE Browser

這是bootstrap圖標,Bootstrap v3.3.4的html代碼

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

這個HTML代碼適用於所有瀏覽器,我可以正確看到公文包圖標。 但是在MVC Platfrom開發后使用相同的代碼我無法在IE和Safari(Windows)上看到公文包圖標。 這個問題與其他幾個圖標也像content = "\\e136"content = "\\e142"

在MVC中開發代碼:

在此輸入圖像描述

簡單的HTML代碼

在此輸入圖像描述

也許這篇文章會回答你的問題: 這里

加入

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

順便說一下,你可以解決你的問題嗎?

編輯:那么它可能是IE安全問題: 這里

你需要包括

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

要么

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

要么

<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