title: Vertical align an image and a multiline text
body: <p>I´m trying to align an image and a text vertically:</p>
  
  <pre>
  +-------------------------+ -- Viewport
  |         Text text text  | 
  | +-----+ text text text  | 
  | |IMAGE| text text text  | 
  | +-----+ text text text  | 
  |         text text text  | 
  +-------------------------+ 
  </pre>
  
  <p>This works fine, if the text is not wrapped. If the Text is wider than the viewport-width, it does not work anymore. I think this is caused by setting display: inline-block:</p>
  
  <pre><code>&lt;a href="#"&gt;
      &lt;img style="display: inline-block; vertical-align: middle; margin-right: 8px;" src="images/arrow_black.png" /&gt; 
      &lt;span style="display: inline-block; vertical-align: middle;"&gt;
          Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonum eirmod tempor invidunt ut labore et dolore 
      &lt;/span&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>The result:</p>
  
  <pre>
  +---------------------------------------------------------------------+ -- Viewport
  |                                                                     |                                                            
  | +-----+                                                             | 
  | |IMAGE| text text text text text text text text text text text text | 
  | +-----+                                                             |                                                           
  |                                                                     | 
  +---------------------------------------------------------------------+ 
  
  +-------------------------+ -- Viewport
  | +-----+ Text text text  | 
  | |IMAGE| text text text  | 
  | +-----+ text text text  | 
  | text text text text     | 
  +-------------------------+ 
  </pre>
  
  <p>If I try to float the elements, the image will always be on top, but not vertical-aligend in the middle of the text:</p>
  
  <pre><code>    &lt;a href="#"&gt;
          &lt;img style="display: block; vertical-align: middle;  margin-right: 8px; float: left;" src="/images/arrow_black.png" /&gt; 
          &lt;span style="display: block; overflow: auto;"&gt; 
              Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 
          &lt;/span&gt; 
      &lt;/a&gt;
  </code></pre>
  
  <p>The result:</p>
  
  <pre>
  +-------------------------+ -- Viewport
  | +-----+ Text text text  | 
  | |IMAGE| text text text  | 
  | +-----+ text text text  | 
  |         text text text  | 
  |         text text text  | 
  |         text text text  | 
  +-------------------------+ 
  </pre>
  
  <p>I´ve seen several solutions for this problem, using html-tables or css-tables (display: table and display: table-cell), but this is not an option, because it must work with all types of browsers (desktop and mobile).</p>
  
  <p>To that, I do not know any sizes. Neither of the image nor of the text. So I can't use any "margin- or padding-Solution".</p>
  
  <p><strong>EDIT</strong>: I´ve created a <a href="http://jsfiddle.net/2bNsC/1/" rel="noreferrer">demo-fiddle</a> (based on the one NGLN has created, BTW: Thanks for that!) that show the result i´m looking for. But I try to archive this without using display: table-cell... any ideas?</p>