W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: Relative absolute position in blocks

From: David Dorward <david@dorward.me.uk>
Date: Sun, 29 Aug 2004 17:20:37 +0100
To: Fredrik Söderberg <mcdrill@acc.umu.se>
Cc: www-style@w3.org
Message-Id: <1093796436.9050.6.camel@localhost>

On Sun, 2004-08-29 at 17:13, Fredrik Söderberg wrote:
> I am looking for a way to set absolute position, but relative
> to the box it is in.

Set position: anything-other-then-static (relative is a good choice) on
the container so that it becomes the Containing Block for the absolutely
positioned descendant. Its in CSS 2.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Sunday, 29 August 2004 16:21:48 GMT

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