...

View Full Version : question about <div> tag...



ggi111
04-27-2006, 04: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, 05: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?

Kor
04-27-2006, 05:27 PM
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, 05:50 PM
Thanks - z-index was what i was loking for
:)

ggi111
04-27-2006, 05:50 PM
Thanks - z-index was what i was looking for
:)

Kor
04-27-2006, 05:56 PM
http://www.w3schools.com/css/css_reference.asp

nathan_lamothe
04-27-2006, 07:18 PM
Forgot about the positioning aspect of that Kor. Thanks for reminding me...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum