Skip to content Skip to sidebar Skip to footer

Containing A Draggable Div To Parent

I am working with jquery ui draggable library. On a button on click I am able to create and append text to a new div. But I am running into two problems: the created new divs do no

Solution 1:

For your first problem, use position and overflow properties for your .container element:

.container {
    position: relative;
    overflow: auto;
}

jsFiddle Demo.


Post a Comment for "Containing A Draggable Div To Parent"