title: jQuery - set div width to sum of it's children
body: <p>I have following setup:</p>
  
  <p>html:</p>
  
  <pre><code>&lt;div id="holder"&gt;
    &lt;div&gt;
      &lt;img/&gt;
      &lt;img/&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>css</p>
  
  <pre><code>#holder { width: 800px; }
  </code></pre>
  
  <p>now, i want to make jQuery gallery and will move line of images to the left and right with negative <code>margin-left</code> of inner div.</p>
  
  <p>However, I have to tell <code>&lt;img/&gt;</code>s to float to left and set inner div's <code>width</code> to sum of widths of images.</p>
  
  <p>How can I do this some clean and nice way?</p>
  
  <p>thank you</p>