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

Re: css layout should be symmetrical

From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Fri, 15 Feb 2002 09:22:41 +0100
To: "Hoyt, Phil" <phil.hoyt@bgminteractive.com>, www-style@w3.org
Message-ID: <16bdh2-24BGTIC@fmrl02.sul.t-online.com>
Hello Hoyt, dear list members,

Am Donnerstag, 14. Februar 2002 22:49 schrieb Hoyt, Phil:
> I'm beginning to think that css layout should be totally and completely
> symmetrical.
I think it already is quite symmetical.

> That's to say that, for example, it should be possible to have <th>s at
> top, left, right and bottom of a table - or at least two dimensions
> simultaneously. I just finished making a table that had a row at the top
> and a column at the left that were both structurally headers, and I'm sure
> I'm not alone. Colgroups are not the same thing - more like a parallel of
> tbody.
What's the point? I think I won't understand this until you show me a source 
code example.

> Similarly, it should be as easy (and also take a parallel or identical set
> of commands) to centre a block horizontally as vertically. I think it was
> pointed out in the "How is it possible to devise such a feeble system"
> thread that this is not currently the case.
Using a table with width and height properties and cells with text-align and 
vertical-align properties this can already be done, though this will be 
improved in CSS Level 3 as far as I read the working drafts.

> Part of the reason for this, beside convenience, is to fully support
> languages that are read in different directions than English. The fact that
> inline elements line up from right-to-left while block elements line up
> from top-to-bottom clearly demonstrates a bias in favour of languages that
> read left-to-right and top-to-bottom.
I think it already is the case that CSS is capable of layouting other 
writings than left-right / top-bottom.

The following properties in CSS Level 2 take care of this:
http://www.w3.org/TR/REC-CSS2/visuren.html#direction
direction and unicode-bidi.

How inline elements line up depends of the direction property of their 
container.


Greetings
-- 
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
ITCQIS GmbH
Telefon: +49 (089) 27 37 04 37
Telefax: +49 (089) 27 37 04 39
E-Mail: mailto:Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
Received on Friday, 15 February 2002 03:28:41 GMT

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