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 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:07 UTC