2016-05-20 119 views
0

我創建使用語義UI CSS框架這個按鈕是我的代碼:語義UI按鈕不正確顯示

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
<title></title> 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> 
<link rel="stylesheet" href="dist/semantic.min.css" /> 
<script type="text/javascript" src="dist/semantic.min.js"></script> 

<link rel="stylesheet" href="dist/components/button.min.css" /> 
</head> 
<body> 
<form id="form1" runat="server"> 
<div class="ui labeled button" tabindex="0"> 
<div class="ui button"> 
<i class="heart icon"></i> Like 
</div> 
<a class="ui basic label"> 
2,048 
</a> 
</div> 

</form> 

</body> 
</html> 

的結果應該是這樣的:

enter image description here

但這我得到了什麼

enter image description here

有什麼幫助?

回答

1

我想問題是進入文件路徑。 嘗試用CDN paths替換它們。

+0

哪一個我應該包括? –

+0

是的,這是正確的:) –