我有以下代码,其中有一个带文本的按钮,
我想在按钮上添加来自Bootstrap的图标(在文本的左侧),我该怎么做?
图标为glyphicon glyphicon-plus。
图标为glyphicon glyphicon-plus。
<div style="margin-top: 20px">
<p>
@Html.ActionLink("New", "Create",
null new { @class = "Button", @style = "float:right" })
</p>
</div>
<br />
<style type="text/css">
.CreateButton {
background: blue
;
color: white;
padding: 4px 10px 4px 10px;
height: 30px;
width: 60px;
}
</style>
<br />