W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [CSS3 box] Proposal: content-align

From: Manuel Strehl <manuel.strehl@stud.uni-regensburg.de>
Date: Wed, 13 Sep 2006 13:03:59 +0200
Message-ID: <4507E59F.40907@stud.uni-regensburg.de>
Cc: www-style@w3.org

Hi again.

Horizontal align: mostly there's no effect, due to the lines completely
filling the space, but in hindsight to XHTML 2's <l> element, there
could be a need for this property, where, e.g., the lines of a poem
don't stretch over the width assigned to the container. So, to be clear,
this is not about 'text-align', like Anne correctly stated, but how to
handle the remaining space between the content bounding box and the
width and height of the container.

Percentage values: I would like it to be read like the percentage values
of "fit-position", where, with increasing percentages, the position
inside the bounding box is wandering. So, 0% 0% is equal to aligning the
upper left, 100% 100% aligning the lower right corner with the box
defined by width and height of the container.

Some time ago I was asking the list about padding:auto, but we agreed
that that's not the right way to handle it. The suggested inner box from
Werner on the other hand is something that disagrees with my
understanding of separation of content and style, for it would introduce
a <div> or similar just for aligning. Thanks anyway for the comment! But
even then, margin-top:auto will have to be defined (which I would, for
the sake of consistency, welcome!).

Received on Wednesday, 13 September 2006 11:04:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC