I'm using the bootstrap grid system and have run into an issue. I want to make a section of a page that is divided down the center, with separate information on each side. My html looks like this.
<div class="container">
<div class="friendly col-sm-12">
<div class="col-sm-6">
<div class="row">
<div class="col-sm-3">
<!--stuff goes here-->
</div>
<div class="col-sm-3">
<!--stuff goes here-->
</div>
</div>
<div class="friendly col-sm-6">
<div class="col-sm-3">
<!--bigger stuff goes here!-->
</div>
</div>
</div>
</div>
CSS
.friendly {
display: inline-block;
}
The issue that I am having is that in order for the two larger divs to be inline, they have to be made smaller (like one a col-sm-4, and one a col-sm-6) and the col-sm-3s wont take up the whole col-sm-6. How do I put a column within a column properly and have everything be sized correctly? And shouldnt there just be basically 12 sections for me to dice up as I please? is there something that changes if I have a column in a column? Thanks
.rowin between. I'm quite sure you can't setdisplay: inline-blockon<div>'s with bootstrap column classes on them. Are you looking for a layout likeSIDEBAR (3x) | CONTENT (6x) | SIDEBAR (3x)?