I thought the purpose of z-index was to determine what portions would be visible of elements overlapped with positioning. Isn't what's being described here better suited for the visibility property [space reserved, and content absent]? later, gordon ----- Original Message ----- From: Ian Hickson <py8ieh@bath.ac.uk> To: Axel Dahmen <a.dahmen@infozoom.de> Cc: <www-style@w3.org>; Bert Bos <Bert.Bos@sophia.inria.fr> Sent: Sunday, August 29, 1999 4:26 PM Subject: Re: Q: z-index and the body element > On Thu, 29 Jul 1999, Axel Dahmen wrote: > > > I've got a question regarding the z-index property: Why can I still see > > elements which I've put *behind* the BODY element (see example below)? > > Because your browser has a bug or doesn't support z-index. > > > <BODY STYLE="z-index: 0; background-color: #456789;"> > > <P STYLE="z-index: -1; color: #fedcba;">This is a test showing a text that > > shouldn't be visible as it lies behind the body element <EM>("z-index" > > property equals "-1").</EM> > > </BODY> > > Note that setting the z-index on BODY is unnecessary to show this. > > -- > Ian Hickson > : Is your JavaScript ready for Nav5 and IE5? > : Get the latest JavaScript client sniffer at > : http://developer.netscape.com/docs/examples/javascript/browser_type.html > >Received on Sunday, 29 August 1999 20:16:42 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:00 GMT