我想知道如何设计我的简单链接:
@Html.ActionLink("Edit", "Edit", new { id=Model.id })
看起来像我的提交按钮样式:
当前提交按钮CSS:
background: none repeat scroll 0 0 #438ECE;
border: 1px solid #004989;
color: #FFFFFF;
cursor: pointer;
font-weight: bold;
padding: 5px;
margin-top: 15px;
margin-right: 10px;
答案 0 :(得分:1)
试试这个:http://jsfiddle.net/eas8v/
a
{
background: none repeat scroll 0 0 #438ECE;
border: 1px solid #004989;
color: #FFFFFF;
cursor: pointer;
font-weight: bold;
padding: 5px;
margin-top: 15px;
margin-right: 10px;
text-decoration: none;
font-weight: normal;
font-family: Arial; Helvetica, Sans-seif;
font-size: 0.8em;
}