W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: Parent pseudo-containers - a method for seperation of content from design

From: Orion Adrian <orion.adrian@gmail.com>
Date: Thu, 7 Apr 2005 08:47:28 -0400
Message-ID: <abd6c80105040705472dd9717d@mail.gmail.com>
To: www-style@w3.org

Proposed about six months ago there was a solution that would have
solved this and many other issues.

Why is there no ability to set a box relative to another box in flow?
Why can't I tell an arbitrary element to be relative to another
arbitrary element.

There are 9 locations of interest on a box (the 4 corners, middle of
the 4 sides and the very center). And every other point that we might
use is a pre-determined offset from one of those locations. But CSS is
one of the only languages that doesn't what it does, but doesn't
expose all 9 points. In fact it only exposes one of them and it does
that poorly.

Why not add an ability to connect two blocks interesting points? Say
the middle of one object with the top-left corner of another. Add
z-indexing and flow around arbitrary objects (something already done
with floats) and you have an easy to understand layout system that's
easy for both hand-coders, and visual editors.

On Apr 7, 2005 3:06 AM, Anne van Kesteren <fora@annevankesteren.nl> wrote:
> 
> Emrah BASKAYA wrote:
> >>> flow in CSS3 with a very bad limitation, why not create a method for a
> >>> total re-arranging with no limitations with a much simpler syntax that I
> >>> outlined, that will help authors convert their old and fixed designs
> >>> into
> >>
> >> That's what XSL is about.
> >
> > Which browsers will kindly implement XSL?
> 
> Mozilla and IE and perhaps Safari as well. (That is XSLT by the way, not
> XSL-FO.)
> 
> However, I agree that you want to re-arrange layout with CSS, not with
> XSLT. (You have a set of boxes and you want an easy way to put them on
> the page where you want them to be, with no limitations.) As this is
> exactly what CSS WG members are doing at the moment. Few weeks ago Bert
> Bos showed an interesting example, I don't think it is worth discussing
> your own ideas. Just wait for them and give feedback.
> 
> --
>   Anne van Kesteren
>   <http://annevankesteren.nl/>
> 
>
Received on Thursday, 7 April 2005 12:47:30 GMT

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