2
I have 30 itens that will come in alphabetical order.
I need to distribute these items in 3 columns in alphabetical order VERTICAL.
The problem is that in Bootstrap, the blocks are marrying each other causing the items to be in horizontal alphabetical order and not VERTICAL.
I’ll show you what I need:
<div class="row">
<div class="col-md-4">
<span>aa</span>
<span>ab</span>
<span>ac</span>
<span>ad</span>
<span>ae</span>
</div>
<div class="col-md-4">
<span>af</span>
<span>ag</span>
<span>ah</span>
<span>ai</span>
<span>aj</span>
</div>
<div class="col-md-4">
<span>ak</span>
<span>al</span>
<span>am</span>
<span>an</span>
<span>ao</span>
</div>
</div>
My items come from here:
<?php
foreach ($qartie as $bairros => $bairro) {
}
?>
Where is your
<ul>or<ol>? In Bootstrap we have the list classes that display it horizontally– Leonardo
@lvcs sorry for typo. I am not using lists.
– Marcos Vinicius
I think it would be better to use list or paragraph or put <br> at the end of each one
– Leonardo
I cannot get a logical idea of how to solve this @lvcs problem ...
– Marcos Vinicius
I’m mounting one here, it would be three columns with 10 elements each in alphabetical order?
– Leonardo
This !!!! :)
– Marcos Vinicius