On Aug 21, 2008, at 11:54 AM, ak732 wrote:


You're welcome.  Perhaps, when you tried it before, you forgot to add
the relative positioning.  Without that, in IE at least, the z-index
won't be respected.


Just to elaborate on this...

If you don't give an element a position -- such as relative, absolute, or fixed -- you won't be able to change its z-index in any browser. This is because the default position of HTML elements is "static." And "static" means that the element can't move on any of its axes - x, y, or z. Can't move left or right, can't move top or bottom, can't move forward or back.

--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

Reply via email to