Some very basic boxes.
First we display a simple non-draggable box1
Then we display a box with width set in own style-attribute, box2
Then we display a simple draggable box (3) with left and width style
Finally a fixed box initally located in top right corner, box4. Having position fixed means that it behaves like absolute, but it keeps its position relative to the browser view, when scrolled.