1
I have a question to align two Divs using Bootstrap.
<div class="info-suporte col-sm-8">
<table class="table">
<thead>
<tr>
<th><div class="foto" ></div></th>
<th><div class="bloco"><p id="modal-bloco">Bloco 6</p></div></th>
<th><div class="corte">Corte</div></th>
<th><div class="lr">AP</div></th>
<th><div class="hr">AQ</div></th>
<th><div class="tar lr">AP</div></th>
<th><div class="hr">AQ</div></th>
<th><div class="lr">AP</div></th>
<th><div class="hr">AQ</div></th>
<th><div class="alta_prioridade">AP</div></th>
<th><div class="alta_qualidade">AQ</div></th>
<th><div class="publicacao integra">Integra</div></th>
</tr>
</thead>
<tbody>
<tr class="row-inicio">
<th scope="row">Início</th>
<td class="bloco"></td>
<td class="cut"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="alta_prioridade"></td>
<td class="alta_qualidade"></td>
<td class="pub"></td>
</tr>
<tr class="row-fim">
<th scope="row">Fim</th>
<td class="bloco"></td>
<td class="cut"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="alta_prioridade"></td>
<td class="alta_qualidade"></td>
<td class="publicacao"></td>
</tr>
<tr class="row-total">
<th scope="row">Duração</th>
<td class="bloco"></td>
<td class="corte"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="lr"></td>
<td class="hr"></td>
<td class="alta_prioridade"></td>
<td class="alta_qualidade"></td>
<td class="publicacao"></td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-2 sla" id='modal-sla'>
<div class="sla-title col-sm-12 info-suporte-badge erro">
<p>SLA</p>
</div>
<div class="sla-body col-sm-12">
<p >Total Previsto</p>
<p class="sla-time previsto"></p>
</div>
<div class="sla-body col-sm-12">
<p>Total Efetivo</p>
<p class="sla-time efetivo"></p>
</div>
</div>
I tried harder I couldn’t line those two up div
. To div
with class="col-sm-2"
It’s above the table.
It is worth noting that they are in a modal and from what I noticed the table is too big to put one next to the other.