Using draggable on div with position right
I ran into something today that I wonder if there's a way around. I
have a div that I give an initial position using "top" and "right" in
the CSS, and then I set it to "draggable". When I drag it, the right
edge stays at the starting point, so the div stretches out in. It's an
interesting effect, but not what I want ;-).
I solved the problem by changing the CSS to position using "left", but
I'd prefer to use "right" if I can, as I really want this div to start
out hugging the right side of the screen, no matter how wide it is.
Is there a way to do this?
Thanks very much for any suggestions. I'm relatively new to jQuery,
but I'm really enjoying it and I'm looking forward to learning more.