gorilla1
01-18-2006, 05:54 PM
I have a div that is not visible (display: none) and at some point when it is activated I change it to visible (display: block). This works fine. However, when it becomes visible, it pushes other content on the page down, whereas I want it to overlay the other content. I have searched around and tried to emulate what I saw done in other applications, but with no success. How do I do this? Here is how the div is coded:
<div align="left" name="test" style="font-family:Arial; font-size:12px; width:462px; border:#000000 solid 1px; padding:3px; display: none; height:140px; overflow: auto; "></div>
G
<div align="left" name="test" style="font-family:Arial; font-size:12px; width:462px; border:#000000 solid 1px; padding:3px; display: none; height:140px; overflow: auto; "></div>
G