title: Image and text on same line?
body: <p>This is giving me a headache...</p>
  
  <p>I'm trying to have an image of fixed height/width on the left, and text on the right, in the same line of course. The overall container has a dynamic width of 90% of viewport, meaning that the text on the right will also have a dynamic width (90% - image width) since the image on the left is fixed. The text needs to be aligned left, so "float:right" won't work. I've tried countless combinations of floats, aligns, table cells, etc, nothing works... closest I've got to was they were in the same line, but the text was forced aligned to the right.</p>
  
  <p>Image of what I mean: <a href="http://i.imgur.com/QRDhLro.png" rel="nofollow">http://i.imgur.com/QRDhLro.png</a></p>
  
  <pre><code>#container {
  overflow:hidden;
  position:relative;
  width:90%;
  min-width:800px;
  margin-bottom:20px;
  margin-top:20px;
  margin-left:auto;
  margin-right:auto;
  }
  .leftimage {
  width:600px;
  height:100px;
  }
  .righttext {    
  float:right;
  }
  
  ...
  ...
  
  &lt;div id="container"&gt;
  
      &lt;div class="righttext"&gt;lorem ipsum lorem ipsum &lt;br&gt; lorem ipsum lorem ipsum &lt;/div&gt;
  
      &lt;div class="leftimage"&gt;&lt;img src="../pictures/test.png"&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>