Within a table, I have a form where each <td>
tag contains either a <select>
or an <input>
. However, due to the varying lengths of the labels within the <td>
tags, the <input>
or <select>
fields are not aligned in the same line as shown in the image.
https://i.sstatic.net/sCh5C.png
<tr>
<td>
<div class="form-group select optional personal_conflict_victim">
<label class="control-label select optional" for="personal_conflict_victim">¿USTED ES VÍCTIMA DEL CONFLICTO ARMADO Y SE ENCUENTRA INCLUIDO EN EL REGISTRO ÚNICO DE VÍCTIMAS?</label>
<select class="form-control select optional" name="personal[conflict_victim]" id="personal_conflict_victim"><option value="">SELECCIONE</option>
<option value="true">Si</option>
<option value="false">No</option>
</select>
</div>
</td>
<td>
<div class="form-group select optional personal_victimizing_fact">
<label class="control-label select optional" for="personal_victimizing_fact">¿CUÁL ES EL HECHO VICTIMIZANTE?</label>
<select class="form-control select optional" name="personal[victimizing_fact]" id="personal_victimizing_fact">
<option value="">SELECCIONE</option>
<option value="Desaparición forzada">Desaparición forzada</option>
<option value="Secuestro">Secuestro</option>
...
</select>
</div>
</td>
</tr>
How can I ensure that both fields stick to the bottom of the parent element and remain on the same line regardless of label sizes?
Thank you for your help.