W3C home > Mailing lists > Public > www-style@w3.org > June 2004

Re: small question

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 7 Jun 2004 21:30:22 -0700
Message-ID: <004401c44d11$5175e480$0601a8c0@ATHLON>
To: <ernestcline@mindspring.com>, <www-style@w3.org>

Thanks, Ernest,

I've already found a place where I saw it. It is XUL's
<box orient="horizontal">  :)

(It seems that <box orient="vertical"> is exactly HTML:DIV)

I've found concept of orient="horizontal" usefull and easy to understand.

Anynymous tables (actually anonymous table-row) was the first what I've
tried.
But there is a problem with them, see:

"7. If a child T of a 'table-row' element P is not a 'table-cell' element,
an object corresponding to a 'table-cell' element will be generated between
P and T. This object ***spans all consecutive siblings*** of T that are not
'table-cell' elements."

To be short: I just want to set attribute of a container and don't touch its
children to layout them horizontally.

display:inline-block is attribute of a child and not a container and there
no UA which support inline-block properly so far.

Anyway thanks!

Andrew Fedoniouk.
http://terrainformatica.com


----- Original Message -----
From: "Ernest Cline" <ernestcline@mindspring.com>
To: "Andrew Fedoniouk" <news@terrainformatica.com>; <www-style@w3.org>
Sent: Monday, June 07, 2004 7:21 PM
Subject: RE: small question


>
>
> > [Original Message]
> > From: Andrew Fedoniouk <news@terrainformatica.com>
> >
> > As far as I remember it was an CSS attribute that allows select
direction
> > of blocks flow in container from top-to-bottom to left-to-right. Or that
> was
> > somebody's proposal? Or this is just my bad dream?
> >
> > Something applied to container which allow to place contained blocks
> > in row but without
> > float:left, display:inline-block.
> >
> > Something what allows to declare container as display:table-row and
> > automaticly places *each* its child block as having table-cell display
> > without need to mentioning table-cell.
>
> It sounds like what you are looking for is the rules for the generation of
> anonymous table objects.  CSS 2.1 Section 17.2.1 [1] has the relevant
> details.
>
> [1] http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes
>
>
Received on Tuesday, 8 June 2004 00:30:26 GMT

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