Let's say I have an image of a rectangle on my page. Then I create a layer with the same dimensions of that rectangle, and position it exactly above the rectangle. I use Dreamweaver to create that layer and to make it visible only when the mouse cursor moves over the rectangle image.
When I preview this in a browser, the layer is the same size as my rectangle image (which is what I desired), and the layer becomes visible when the mouse cursor moves over the rectangle. When it becomes visible, however it is offset to the left and to the top of the rectangle image. Why is that, and how do I solve that problem?
Thanks
When I preview this in a browser, the layer is the same size as my rectangle image (which is what I desired), and the layer becomes visible when the mouse cursor moves over the rectangle. When it becomes visible, however it is offset to the left and to the top of the rectangle image. Why is that, and how do I solve that problem?
Thanks