Re: [CSS3] horizontal/vertical-align ?

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 UTC