I am creating an HTA using VBscript. I have a few div's that I hide when not in use. The problem is that when the div is hidden it takes up space. so if I have this:
I show the first div (divFormOne) and hide the other one (divFormTwo). When I reverse it, hide the first div (divFormOne) and show the other div (divFormTwo), the 2nd div is shown farther down the page. I cannot destroy the div's because I might need them again and they are static, not dynamically created. Is there a way with CSS to have the div's when shown go to the same place?
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!
Code:
<div id="divFormOne">
Some code here
</div>
<div id="divFormTwo">
Some code here
</div>
document.getElementById("divFormOne").style.visibility = "hidden"
document.getElementById("divFormTwo").style.visibility = "visible"
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!