Empty spaces on jquery
<p>I'm using jQuery to build a sort of image gallery for my client's products, so that he can edit, delete and add images related to each product when editing it without having to reload the page on each request (using ajax).</p>

<p>Everything works fine, except for this : <img src="http://filipematias.aeon-dev.org/grwefdws.jpg" alt="alt text" /></p>

<p>As you can see in the image above, I have space for 3 images (wich is the limit in this case)
, and, for example, when I delete the first one and add a new one, I't will delete the markup of the first and add the second markup with jQuery append() function. The problem is that it lets an empty space on the left side of the image group, wich will cause the div to expand wrong, and I need it to have only that size. Think you get the idea.</p>

<p>Does anyone know how to clear that empty space with jQuery?</p>

<p>Thanks in advance!</p>
