0

我想知道如何设置普通链接的样式:

@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;
4

1 回答 1

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;
}
于 2013-07-31T14:13:58.287 回答