2
I cannot align my Labels (Razor) to the left of my html table with Visual Studio!
<table cellspacing="6">
<tr >
<td >
@Html.Label("Cep: ")
</td>
<td >
@Html.Label("Endereco: ")
</td>
<td >
@Html.Label("Número: ")
</td>
</tr>
<tr>
<td >
@Html.TextBoxFor(e => e.CEP, new { maxlength = "9", id = "Cep", name = "Cep", onchange = "findCEP()" })
</td>
<td >
@Html.TextBoxFor(e => e.DescricaoEndereco, new { maxlength = "50", id = "Endereco", name = "Endereco" })
</td>
<td>
@Html.TextBoxFor(e => e.Numero, new { maxlength = "50", id = "Numero", name = "Numero" })
</td>
</tr>
<tr>
<td >
@Html.Label("Complemento: ")
</td>
</tr>
<tr>
<td >
@Html.TextBoxFor(e => e.Complemento, new { maxlength = "50", id = "Complemento", name = "Complemento" })
</td>
</tr>
<tr>
<td >
@Html.Label("UF: ")
</td>
<td >
@Html.Label("Cidade: ")
</td>
<td >
@Html.Label("Bairro: ")
</td>
</tr>
<tr>
<td>
@Html.DropDownListFor(e => e.UF, Model.UFList, new { id = "UF", name = "UF" })
</td>
<td>
@Html.TextBoxFor(e => e.Cidade, new { maxlength = "40", id = "Cidade", name = "Cidade" })
</td>
<td>
@Html.TextBoxFor(e => e.Bairro, new { maxlength = "50", id = "Bairro", name = "Bairro" })
</td>
</tr>
</table>