Hi, 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)? Alright, I know this is just a hypothetical question and I would never use this technique to hide elements, but according to the CSS2 specification it should be possible to hide elements by putting them behind a coloured BODY element in the z-order (if I haven't just missed a paragraph dealing with this in the specification :) ). Best regards - Axel Dahmen ---------------------------------------------------------------------------- ------------------------------- <HTML> <HEAD><TITLE>Text Behind Body?</TITLE></HEAD> <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> </HTML>Received on Friday, 30 July 1999 14:20:48 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT