[jQuery] jquery remove leaving leading whitespace

[jQuery] jquery remove leaving leading whitespace

<div dir="ltr">Hi,
I'm using the remove, though if I have lots of elements and then I remove one by one, there is a lot of leading whitespace left behind. I'm not sure where it's coming from, I used the FireBug dom inspector and see no whitespace elements or anything else goofy...
My html is as below, seems straightforward enogh
<fieldset id="someid">
                        <span onclick="removeme(this);">
                    <img src="blah.jpg"/>
                    data1
                  </span> 
                        <span onclick="removeme(this);">
                    <img src="blah.jpg"/>
                    data2
                  </span> 
</fieldset>
    function tagRemove(elm) {
        $(elm).remove();           
    };
Thanks,
Josh
</div>