Re: [WSG] z-indexing

Mon, 02 Feb 2004 04:10:50 -0800


Hi Simon,


I had a play with the page you put up and have no solution (on Mozilla for Linux anyway) but just thought I'd point out that the z-index property is only valid for positioned elements - absolute, fixed and relative - and should be ignored on static elements.

The code in your example may well have just been left over from experimenting with it but just thought I'd mention it ;-)

Cheers,
Mark

Simon Jessey wrote:

Hey, all.

Does anyone have any good experience with controlling the z-index of
objects? I am trying to implement something where an object (in this case,
some Flash) that is absolutely-positioned with respect to the viewport (with
position: fixed) can have content pass both over it and under it. My
experiments have yielded rendering problems in most common browsers. Here is
an example:

http://jessey.net/tests/z-object.html

I have hidden the fixed positioning from Internet Explorer, but it should
still respect the z-index values.


Simon Jessey ---------------------------------- mail: [EMAIL PROTECTED] blog: http://jessey.net/blog/ work: http://keystonewebsites.com/

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************






*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to