Renaud is Not Bill Gates
Renaud is Not Bill Gates

Reputation: 2084

Grid system in bootstrap doesn't work properly

I have a div with the row class, inside this div I have two nested divs, one with col-md-3 and the other with col-md-9.

So the div with the row class takes the whole space as expected :

[![enter image description here][1]][1]

But the problem is in the div with col-md-9 it doesn't take the space that it should take, as you can see in this picture :

[![enter image description here][2]][2]

So why I'm getting this behaviour ?

PS : for the contenu-central class it has only a padding-left: 0px; and a padding-right: 0px;

Upvotes: 1

Views: 1006

Answers (1)

Melmsie
Melmsie

Reputation: 194

There could be a few things wrong.

  • Make sure other aspects of bootstrap are working
  • It looks like you have a col-md-9 and a col-md-2, I don't see a 3
  • Double check your CSS and make sure there isn't anything limiting the size and overwriting the bootstrap CSS

Upvotes: 3

Related Questions