title: How to wrap content around an image with CSS?
body: <p>How to wrap content around an image with CSS? Div with class <code>.header</code> should be wrap border by the width of text inside it. Div with class <code>.body</code> should be in new line after <code>.header</code> div.</p>
  
  <pre><code>&lt;div class="block"&gt;
      &lt;div class="image"&gt;
          &lt;img src="http://i.stack.imgur.com/SZHzX.jpg" /&gt;
      &lt;/div&gt;
      &lt;div class="text"&gt;
          &lt;div class="header"&gt;
              Here is header bar
          &lt;/div&gt;
          &lt;div class="body"&gt;
              Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.image {
      float: left;
  }
  .header {
      border: 1px solid #000;
      margin-bottom: 20px;
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/56L9yo52/" rel="nofollow noreferrer">http://jsfiddle.net/56L9yo52/</a></p>
  
  <p>Thanks in advance and sorry for my bad English.</p>
  
  <p><img src="https://i.stack.imgur.com/SSsbr.png" alt="enter image description here"></p>