0

I'm using Bootstrap to make many lists, and my lists have various sizes. I'd like to force them to be sticked under the previous line's list, like "Chapitre 7" on the picture, without care of the size. Does somebody know how to do it ? vertical-align doesn'works...
My code :
<div class="row"> <ul class="col-md-4"></ul> <ul class="col-md-4"></ul> <ul class="col-md-4"></ul> <ul class="col-md-4"></ul> <ul class="col-md-4"></ul> </div>
And the <ul> are having various sizes

My Site

EDIT :
Solved with a <div class="clearfix"><\div> every three blocs !

BDeliers
  • 74
  • 1
  • 12

1 Answers1

0

If I understood correctly, you want your list to just be displayed one UNDER the other? (and not side by side?)

If so, try adding a <br> at the end of each <ul> This forces the next element to be in a new line (under the previous one)

I.e-

<div class="row">
    <ul class="col-md-4"></ul><br>
    <ul class="col-md-4"></ul><br>
    <ul class="col-md-4"></ul><br>
    <ul class="col-md-4"></ul><br>
    <ul class="col-md-4"></ul><br>
</div>
Shtut
  • 1,397
  • 2
  • 14
  • 28