title: Bootstrap - 2 columns of matching height, 1 with full width image, 1 with text
body: <p>I'm having a difficulty getting something to work in Bootstrap 3.3.7. Fiddle is here: <a href="https://jsfiddle.net/rrqt9e98/" rel="nofollow noreferrer">https://jsfiddle.net/rrqt9e98/</a></p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;div class="row"&gt;
  
      &lt;div class="col-md-6" style="background-color: red;"&gt;
        &lt;img src="http://placehold.it/500x333"&gt;
      &lt;/div&gt;
  
      &lt;div class="col-md-6" style="background-color: yellow;"&gt;
        &lt;p&gt;
        Content column
        &lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Output is currently like this:</p>
  
  <p><a href="https://i.stack.imgur.com/yzkGL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yzkGL.png" alt="enter image description here"></a></p>
  
  <p>What I'm trying to do is get my image (which has an original size of 500*333px) to occupy the full width of the left hand column. I've set <code>width: 100%</code> in my CSS on the <code>img</code> to achieve this, following advice given here: <a href="https://stackoverflow.com/questions/1891857/how-do-you-stretch-an-image-to-fill-a-div-while-keeping-the-images-aspect-rat">How do you stretch an image to fill a &lt;div&gt; while keeping the image&#39;s aspect-ratio?</a></p>
  
  <p>I'm not sure why the red background colour behind the image appears, as I want the image flush with the <code>col-md-6</code> edges. So I tried adding:</p>
  
  <pre><code>img {
    padding: 0;
    border: 0;
  }
  </code></pre>
  
  <p>I also would like the right hand yellow column to match the height of the image. I am using the jQuery Match height plugin in my project, so could opt for that, unless there is a CSS solution.</p>
  
  <p>The overall effect I would like is a 2 column layout where the image takes up the full left hand column, and that the right hand column matches the height of the left hand column. At a mobile breakpoint (<code>sm</code> or lower) I would like to horizontally stack these 2 columns.</p>
  
  <p>I want it to look like this (which I've mocked up in Fireworks just to show how it should look):</p>
  
  <p><a href="https://i.stack.imgur.com/hNgHP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hNgHP.png" alt="enter image description here"></a></p>
  
  <p>Please can someone point me in the right direction with this?</p>