Hello, I have the following CSS
.control-label{
width: 100px;
text-align: center;
}
.input-mini {
width: 85px;
}
And the following form structure
<div class="control-group">
<div class="controls" style="float:left; margin-left: 5px;">
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">Base</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">P. Moto</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">P. Carro</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">P. Van</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">P. Caminhão</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">R. Moto</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">R. Carro</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">R. Van</div>
<div id="textinput" class="control-label" style="float:left; margin-left: 5px;">R. Caminhão</div>
</div>
</div>
<div class="control-group">
<div class="controls" style="float:left; margin-left: 5px;">
<div class="input-mini" style="float:left; margin-left: 5px;">
<strong>BAIRRO</strong>
</div>
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
<input id="textinput" name="textinput" type="text" placeholder="0.00" class="input-mini" style="float:left; margin-left: 5px;">
</div>
</div>
But at the time of viewing, the titles are misaligned ... This way:
Addendum
Remembering that I will make a foreach () in the second div, to repeat the fields according to the neighborhoods ...