title: MVC HTML.DropDownList set width
body: <p>I set the the LOV of dropdownlist in Controller by putting them into a ViewData and displaying them at View using the following code:</p>
  
  <pre><code>@Html.DropDownList("dropDown_"+item.ConfigCode);
  </code></pre>
  
  <p>The dropdownlist does displayed as I wanted and I'm now stuck at changing the width of it. Based on what I've found on the net, the following code should be working, however, it is not showing any value for the drop down list. May I know what should I do with it?</p>
  
  <pre><code>@Html.DropDownList("dropDown_"+item.ConfigCode, Enumerable.Empty&lt;SelectListItem&gt;(),new {      @style = "width: 50px;" }) 
  </code></pre>