Re: [css-d] creating an overlay div

2006-02-09 Thread Jesse Skinner
Hi Peter, You can set an absolute position, width, height and z-index to a div. You can set a top/left to position it, or you can put it beside the 'drop zone', like: drop zone These divs will have the same position and size. The 'position:absolute' causes the element to take up no space o

[css-d] creating an overlay div

2006-02-09 Thread Peter Michaux
Hi, Suppose I have an inline div and I want an invisible but perfectly matching div overlaying it. How do I do this so that when I resize the window or scroll the two div's remain overlayed? The reason I ask is for detecting a dragging item over a drop zone. The drop zone won't respond to the mou