2015-04-15 51 views
0

所有按鈕上的圖形圖標 - bootstrap不顯示在safari或chromBootstrap圖標不顯示

我無法修復它。請幫忙!

<link href="css/bootstrap.min.css" rel="stylesheet"> 

<a class="btn btn-primary" href="ClockProject/index.html" 
    target="_blank">View Project 
    <span class="glyphicon glyphicon-chevron-right"></span> 
</a> 

回答

7

您是否確定字體已包含在項目中?查看您的網站的控制檯,您有錯誤,其中加載glyphicons(字體包)失敗。

bootstrap/ 
├── css/ 
│ ├── bootstrap.css 
│ ├── bootstrap.css.map 
│ ├── bootstrap.min.css 
├── js/ 
│ ├── bootstrap.js 
│ └── bootstrap.min.js 
└── fonts/ 
    ├── glyphicons-halflings-regular.eot 
    ├── glyphicons-halflings-regular.svg 
    ├── glyphicons-halflings-regular.ttf 
    ├── glyphicons-halflings-regular.woff 
    └── glyphicons-halflings-regular.woff2 
+0

我不知道必須包含字體。謝謝。我現在將添加它。 – user21