Hi,

i have the following code to make a draggable div with limitations to
a container div:
HTML:
<div id="container" style="position:relative;width:300px;height:
150px;border:1px solid green;">
  <div id="dragg" style="position: absolute; background: blue; width:
50px; height:50px;"></div>
</div>
JS:
new Drag.Move($("dragg"), {
  "container": $("container")
});

This works fine in FF. In IE (i tested 6 and 7) i can drag the Element
outside of the container. If i remove the css border from the
container element, also IE is recognizing the container correctly. Is
this a known bug or am i doing something wrong?

Reply via email to