Click to See Complete Forum and Search --> : Div layers and transparency


simonuk1
05-22-2004, 04:14 AM
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.

Simon

David Harrison
05-22-2004, 01:49 PM
I couldn't work out what you were asking for so is this any good?

ronaldb66
05-26-2004, 08:06 AM
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.