2013-11-24 94 views
0

我正在使用Bootstrap 3.0,而且我正在使用Twitter Bootstrap Glyphicons。我正在嘗試使用「glyphicon glyphicon-plus」,但是當我放入課堂時,它不會顯示。'glyphicon glyphicon-plus'not showing

enter image description here

P.S.我使用http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css頁面鏈接到引導

代碼:

我只有一個圖標,沒有造型吧。

<button id='b'><span class='glyphicon glyphicon-plus'></span></button> 
+1

提供一些示例代碼。沒有任何背景,它很難排除故障。另外,您可能會不正確地鏈接字形圖標的圖像。 –

回答

4

我附上了一個JSFiddle顯示您提供的代碼和CSS鏈接。

<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> 
<body> 
    <button id='b'> 
     <span class='glyphicon glyphicon-plus'></span> 
    </button> 
</body> 

的加號按鈕顯示爲預期

+1

他已經有這行代碼!...? –

+1

幾分鐘前有一個編輯添加了該行代碼 - 它不是在那裏一天前,當第一個發佈 –

+0

我確實在我的網站上面的代碼。 –

0

這是一個非常簡單的錯誤。我忘了添加rel='stylesheet'type='text/css'

+0

不用擔心,我們很高興能幫助您找到正確的答案。 –