MVC4怎么设置@Html.TextBoxFor这样的输入框的css样式

2025-05-04 08:05:26
推荐回答(1个)
回答(1):

12@Html.TextBoxFor(m => m.byear, new { @class = "aaaa"})@Html.TextBoxFor(m => m.byear, new { @style = "width:90px"})