When resizing element gets position: absolute and div below rises

When resizing element gets position: absolute and div below rises


I've got several draggable and resizable divs below each other which
all has position: relative to one and the same parent div. My problem
is that when I resize one of the divs its position property gets
changed from relative to absolute and the div below rises to be on the
same height as the one I'm resizing. Is it possible to drag it but
keep the position as relative?
I've only got horizontal dragging and resizing enabled.
Thanks,
-Martin