<p>Some examples I found that apparently worked with older versions of mvc suggest that there was a length parameter of sorts:</p>

<pre><code>&lt;%=Html.TextBox("test", 50)%&gt;
</code></pre>

<p>But that may have been mistakenly setting the value.</p>

<p>How do this work in the current release? Passing in the style doesn't appear to have any effect.</p>

Something like this should work:
```
```
<%=Html.TextBox("test", new { style="width:50px" })%>
```
```
Or better:
```
```
<%=Html.TextBox("test")%>

<style type="text/css">
    input[type="text"] { width:50px; }     
</style>
```
```