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

@Html.TextBoxFor(model => model.Title, new { @class = "inputxt w250 validate[required,maxSize[10]]",@style="width:250px;" })

  

@Html.TextBoxFor(model => model.Title, new { @class = "inputxt w250 validate[required,maxSize[10]]" })

  增加行内样式和只使用class样式

posted @ 2017-01-19 10:46  struggle-way  阅读(1189)  评论(0编辑  收藏  举报