ggi111
04-27-2006, 03:56 PM
HI
I have too <div> layers and I want to determine that one will be above the other - how can I do that?
thanks,
ggi
nathan_lamothe
04-27-2006, 04:00 PM
declare the z-index for them in your stylesheet.
Larger integer values are higer (closer to the user) on the screen.
But this is a question in the javascript programming section, so what am I missing?
You must first give them the CSS position:absolute and the same coordinates x:y (or position:relative and, if the DIVS are siblings -one next the other- and the second should have the y position smaller with the amount of the first DIV's height).
Should give us more details about what you need.
ggi111
04-27-2006, 04:50 PM
Thanks - z-index was what i was loking for
:)
ggi111
04-27-2006, 04:50 PM
Thanks - z-index was what i was looking for
:)
http://www.w3schools.com/css/css_reference.asp
nathan_lamothe
04-27-2006, 06:18 PM
Forgot about the positioning aspect of that Kor. Thanks for reminding me...