![]() |
|
|
|||
|
Way to overlay div tags?
Is there a way to overlay div tags? They are both hidden, and each contains a
response to a question "Yes you are correct" or "No, you are incorrect." Once the user clicks the submit button, I call JavaScript to show either the answerCorrect div orthe answerIncorrect div... but I want them to appear in exactly the same spot on the page |
|
|||
|
Re: Way to overlay div tags?
Are you familiar with Z index? It allows you to define the order in which you
layer DIV tags. The "z-index" label -- This label determines the third dimension of positioning when several layers occupy the same pixel of the user's screen. The value of the "z-index" label determines which layer will be placed over the other. If two layers vie for the same spot, one has a "z-index" value of "1" and the other a "z-index" value of "2," then the "2" value layer will be placed over the "1" value layer. http://www.web-source.net/web_develo...t_graphics.htm |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|