W3C home > Mailing lists > Public > www-style@w3.org > February 2002

RE: css layout should be symmetrical

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Mon, 18 Feb 2002 20:13:59 +0200
Message-ID: <E657D8576967CF448D6AF22CB42DD2690FF20E@ermhs.Athens.BrokerSystems.gr>
To: "Benjamin D. Gray" <BDGray@uwyo.edu>, <www-style@w3.org>

Benjamin,

If you are not concerned about markup semantics, but instead only care for rendering issues, current css properties (such as those related to text direction, positioning and grids) are more than enough.

Still, markup is called markup for a reason; it's the semantics that hold the real value not rendering. Rendering should, where possible, come from document structure and flow; not hacks that do not reflect document structure (which, after all these years of CSS development, is a web authors most powerfull weapon if he takes advantage of it's behavior).

Your example of {align: top center;} can easily be achieved by using text-align and vertical-align on the parentNode (if it's a td for example), or even positioning (better yet, a mixture of the above).

Kindest regards,

Manos

-----Αρχικό μήνυμα-----
Από:	Benjamin D. Gray [mailto:BDGray@uwyo.edu]
Αποστολή:	Δευ 18/2/2002 7:24 μμ
Προς:	www-style@w3.org
Κοιν.:	Manos Batsis; Hoyt, Phil
Θέμα:	RE: css layout should be symmetrical

I think the subject should be CSS not markup.  Layout should be
controlled by CSS not on some table like markup.  Table like markup
defeats the purpose of moving away from using tables as layout.

How about adding an align property to CSS such as

div.splash {
  align: top center; /* with values similar to background-position:
center center; or 50% 50%; */
}

or extend the float property:

div.splash {
  float: center; /* or top or bottom */
}

This would add a lot of the layout control that tables have been used
for.

Benjamin D. Gray
WIND Web Developer
http://wind.uwyo.edu/



-----Original Message-----
From: Manos Batsis [mailto:m.batsis@bsnet.gr]
Sent: Sunday, February 17, 2002 11:59 pm
To: Hoyt, Phil; www-style@w3.org
Subject: RE: css layout should be symmetrical
I believe that the subject here is markup semantics. CSS has nothing to
do with how a markup language speaks (or even 'marks up' to be precise)
tables and the rest.
Kindest regards,
Manos
Received on Monday, 18 February 2002 13:10:47 GMT

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