0
我有以下操作鏈接,它將轉到視圖中的特定節。如何將類和樣式添加到路由到節的HTML.ActionLink
@Html.ActionLink("Morn Info", "Solutions", "Home", null, null, "EOB",null, null)
如何添加一個風格和類這個Html.ActionLink
,使它看起來像一個button
?
我覺得我可以添加...
new { @class = "button btn-flat", @style = "border-radius: 14px;" }
,但我不能讓它這樣工作...
@Html.ActionLink("Early Out Billing", "Solutions", "Home", new { @class = "button btn-flat", @style = "border-radius: 14px;" }, null, "EOB", null, null)