Re: position, z-index and stacking context

> > z-index only applies to positioned content to start with.
> 
> pardon?

http://www.w3.org/TR/CSS2/visuren.html#propdef-z-index

  Applies to:  positioned elements

CSS2.1 says the same thing.

"positioned elements" in this context means "anything with position not
static".

> and relative position may be problem, as well as fixed one;
> out-of-flow position make overlapping among elements.
> so style have to define which element is front and other is back
> in that situation clearly.

It's completely well-defined by the z-ordering description in the spec, as far
as I can tell....

Boris
-- 
We are all agreed that your theory is crazy.  The
question which divides us is whether it is crazy enough
to have a chance of being correct.  My own feeling is
that it is not crazy enough.
                                     -- Niels Bohr

Received on Wednesday, 19 February 2003 23:48:58 UTC