Hi everybody,
Last 3 days I've been working on a test project to learn MVC 3.
Here is one of the views generated and I am wondering why the controls are so narrow and how should I make them wider.
I assume the width is coming from Site.css?
Say, I just tried
<div class="editor-field">
@Html.DropDownList("clientId", new SelectList(Model.Clients, "Id", "Name"), new {width="500px"})
@Html.ValidationMessageFor(model => model.Engagement.Client)
</div>
but I see no effect at all.
See attached file.
If it's not broken, fix it until it is.
My Blog