I am creating a simple layout using Twitter Bootstrap 3. Here is what I have so far
<div class="container">
<div class="row">
<div class="col-xs-3 red">
<h3>Column 1 Content</h3>
<img class="img-responsive" src="http://dummyimage.com/300x400/000/fff">
</div>
<div class="col-xs-3 blue">
<h3>Column 2 Content</h3>
<img class="img-responsive" src="http://dummyimage.com/300x600/000/fff">
</div>
<div class="col-xs-3 green">
<h3>Column 3 Content</h3>
<img class="img-responsive" src="http://dummyimage.com/300x100/000/fff">
</div>
<div class="col-xs-3 yellow">
<h3>Column 4 Content</h3>
<p>This is some dummy content</p>
</div>
</div>
</div>
What I am trying to do now is the following...
- Each column should be the same height
- There should be a space in between each column
I have tried to achieve the space by adding a margin to each column but that just pushes things onto the next row.
Can anyone suggest a solution?