W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Re: Do overlapping statically positioned elements "obscure" each other

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Fri, 24 Sep 1999 14:10:39 +0100 (BST)
To: Ian Graham <igraham@ic-unix.ic.utoronto.ca>
cc: "L. David Baron" <dbaron@fas.harvard.edu>, ian.graham@utoronto.ca, tantek@cs.stanford.edu, www-style@w3.org
Message-ID: <Pine.GSO.4.04.9909241409230.3191-100000@midge.bath.ac.uk>
On Thu, 16 Sep 1999, Ian Graham wrote:

> It might be nice if there were a way to bind the background and content
> together for rendering purposes, so that they could behave the way I want
> (how's that for hubris). Something like
> 
> background-depth: normal | element
> 
> where 'element' pops the background up to the depth one level below the
> element content.  On the other hand, the type of rendering behavior I
> suggested is produced using positioned elements (and controllably using
> z-index), and perhaps that is a better way to go about overlapping stuff.

Well, just saying

   position: relative; z-index: 0; 

...would achieve what you suggest, wouldn't it?

-- 
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 Friday, 24 September 1999 09:10:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:00 GMT