mvc @html.editor怎么修改宽度 和其他属性时间:2023-03-09 07:20:10 <style type="text/css"> #dob { width:6em; } </style> @using (Html.BeginForm()) { Enter date: @Html.EditorFor(m => m.DateOfBirth, null, "dob", null) } http://www.bbsmvc.com/mvclearn/thread-363-1-1.html