title: MVC and EditorFor width
body: <p>Can I set the width of an EditorFor control on my View?</p>
  
  <p>I have set a few parameters:</p>
  
  <pre><code>[Required, DisplayName("Payee Name"), StringLength(50)]
  public string Name { get; set; }
  </code></pre>
  
  <p>However, I can't seem to set the width of the textbox that gets rendered.</p>
  
  <pre><code>&lt;table width="300" border="0" cellpadding="3" cellspacing="0"&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;%=Html.LabelFor(m =&gt; m.Name)%&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;%=Html.EditorFor(m =&gt; m.Name)%&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>Can this be done somehow?</p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;%=Html.EditorFor(m =&gt; m.Name, new {width=50)%&gt;
  </code></pre>
  
  <p>But no joy... </p>