I have the following line in my view:
<div class="editor-field"> <%= Html.TextBoxFor(m => m.Description)%> </div>
How do I define the width of the text box?
This worked for me for the one-offs, pretty verbose though:
<%: Html.TextBoxFor(m => m.Description, new { style="width:50px;" })%>