[英]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 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.