A
A
Alide2020-05-12 13:44:44
Bootstrap
Alide, 2020-05-12 13:44:44

Can't fit two blocks in a bootstrap row?

Here is the site gta5rp-info.ru

I made four blocks of col-md-3, in fact it should fit 4 blocks per line, but for some reason the fourth block moves down to the second line - how to fix it? Moreover, if I connect boostrap 3, and not 4, then there is no such problem. But using bootstrap 3 is not an option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Deleting Account, 2020-05-12
@Alide

<div class="container-fluid">
  <div class="row">
    <div class="col-md" style="display:inline-block;">
  <div style="background:#fff; height:500px;">
  </div>
    </div>
    <div class="col-md" style="display:inline-block;">
  <div style="background:#fff; height:500px;">
  </div>
    </div>
    <div class="col-md" style="display:inline-block;">
  <div style="background:#fff; height:500px;">
  </div>
    </div>
    <div class="col-md" style="display:inline-block;">
  <div style="background:#fff; height:500px;">
  </div>
    </div>
  </div>
</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question