【问题标题】:how to change the action link button style in chhtml如何更改cshtml中的动作链接按钮样式
【发布时间】:2012-10-16 17:18:19
【问题描述】:

我需要以相同的样式显示所有按钮。除了 div 内容和使用类名之外的所有按钮我都很好。但我只需要一个按钮来放置 html.actionlink 类型。但是这个按钮只有文字大小和文字系列与其他按钮完全不同。我的代码如下。如何解决这个问题? .感谢您的提前指导

 <div id="exportButton">
            @Html.ActionLink("Export", "Export", new { page = 1, pageSize = 0, orderBy = "~", filter = "~"}, new { id = "exportSearchLink", @class = "button w100 " })
        </div>

【问题讨论】:

    标签: html css razor styles stylesheet


    【解决方案1】:
    @Html.ActionLink("Please Edit Me", "Edit", null, new { style="font-weight:bold;" })
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-09-23
      • 2014-12-04
      • 1970-01-01
      • 2023-03-24
      • 1970-01-01
      • 1970-01-01
      • 2021-10-16
      相关资源
      最近更新 更多