I want to be able to have a div appear and disappear on an click.
I have the mechanism in place, but I can get the div to go over others divs and block them out, it says transparent and buttons etc show through the div table.
Do I have to have a gif background or something to get this toblock out any divs / text underneath the appearing div.
Any help would be appreciated.
SimonI couldn't work out what you were asking for so is this any good?Depending on your take on "appearance" and thus "non-appearance", there are two options:
an element can be assigned "display: none", whereby the element is removed from the document flow and therefore takes up no room at all;
with "visibility: hidden", it simply is not visible but it'll leave a "hole" the size the element would have taken up if it would be visible.
I have the mechanism in place, but I can get the div to go over others divs and block them out, it says transparent and buttons etc show through the div table.
Do I have to have a gif background or something to get this toblock out any divs / text underneath the appearing div.
Any help would be appreciated.
SimonI couldn't work out what you were asking for so is this any good?Depending on your take on "appearance" and thus "non-appearance", there are two options:
an element can be assigned "display: none", whereby the element is removed from the document flow and therefore takes up no room at all;
with "visibility: hidden", it simply is not visible but it'll leave a "hole" the size the element would have taken up if it would be visible.