J-man91
10-31-2005, 06:55 PM
I was wondering, if you had two divs that were postioned at the same place, which on would be on top?
|
View Full Version : Absolutely positioned divs.. J-man91 10-31-2005, 06:55 PM I was wondering, if you had two divs that were postioned at the same place, which on would be on top? pb&j 10-31-2005, 07:07 PM if you are not using z-index, then the "top" one will be the last one seen in your coding. the order of your coding is the order of the appearance. J-man91 10-31-2005, 09:51 PM Ok, thanks. How do I use z-index? Rodie 10-31-2005, 10:44 PM To use z-index: http://www.w3schools.com/css/css_positioning.asp z-index is an attribute of <div>. By the way, how can we center that <div> on the webpage ?? J-man91 11-01-2005, 01:42 AM Thanks. |