I have NewCustomer View:
<table class="table">
<tr>
<td class="text-right">
@Html.LabelFor(model => model.Customer.GenderId)
</td>
<td>
@Html.DropDownListFor(model => model.Customer.GenderId,new SelectList(Model.Genders,"Id", "GenderType"),"-=Select Title=-")
</td>
</tr>
<tr>
<td class="text-right">
@Html.LabelFor(model => model.Customer.Name)
</td>
<td>
@Html.TextBoxFor(model => model.Customer.Name)
</td>
</tr>
</table>
Can I align the width dropdownlist and textbox with boostrap class ?
I changed code: