Hi Marje,
Yes, positioned elements (relative or absolute) can be assigned a z-index.

Here's the CSS 2.1 spec from the World Wide Web Consortium:
http://www.w3.org/TR/CSS21/visuren.html#z-index

Be Well,
Joe



----- Original Message ----- 
From: "Marje Cannon" <[EMAIL PROTECTED]>
To: <css-d@lists.css-discuss.org>
Sent: Friday, July 27, 2007 6:01 PM
Subject: [css-d] Z-index and positioning


> When I learned about z-indexes umpteen years ago, it was in connection
with
> absolutely positioned elements. And I assumed, maybe incorrectly, that
> Z-index always applied to absolutely positioned elements. And that's the
way
> I used them.
>
> I just saw an example of a relatively positioned element with a z-index.
>
> And over at w3schools I found this:
>
> Note: Z-index only works on elements that have been positioned (eg
> position:absolute;)!
>
> So am I correct in understanding that as long as an element is positioned
> (relative, absolute, etc) it can have a Z-index?
>
>
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to