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

Re: POSITION: relative-to?

From: Maury Markowitz <maury@sympatico.ca>
Date: Mon, 28 Aug 2000 21:44:50 -0700
Message-ID: <003301c01173$ddfc8900$7de9fea9@gizifa>
To: <www-style@w3.org>
Cc: "Clover Andrew" <aclover@1VALUE.com>
> If you come up with any elegant solutions to this one I'd
> personally love to hear about it!

  I was thinking of something much simpler...

.navbox    { position: relative-to(.pullquote); top: 0; left: -10em; }
.pullquote { position: absolute; top: 8em }

  Pullquote's position is known and fixed.  Thus using relative-to, my
coordinate system is now the same as pullquote's, and then I just move over
to the left a bit.

Maury
Received on Monday, 28 August 2000 21:38:52 GMT

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