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

Re: [CSS3] horizontal/vertical-align ?

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 22 Apr 2010 07:01:11 -0700
Cc: <www-style@w3.org>
Message-Id: <8F280789-AEAC-4C56-84DA-F782953DE36B@gmail.com>
To: "Andrew Fedoniouk" <news@terrainformatica.com>

On Apr 21, 2010, at 11:46 PM, Andrew Fedoniouk wrote:

> There is also a need for horizontal-align with the meaning of content alignment.
> 
> Consider this:
> 
> div {  horizontal-align: right; overflow-x: hidden; }
> div > p {  width: 200px; }
> 
> P elements inside the div should "stick" to right side of the div.
> If content of the div overflows (e.g. its used width is less than 200 px)
> then we should see right sides of  P elements. Currently all UAs exhibit  left alignment when content overflows
> and there is simply no way to change this in CSS.
> overflow-y/vertical-align should demonstrate the same behavior.
> 
> There are cases, e.g. while animating when such overflow/align beahvior is highly desirable. 

I like this idea.

Received on Thursday, 22 April 2010 14:05:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:26 GMT