W3C home > Mailing lists > Public > www-html@w3.org > March 2007

Re: Tags for aligning in both Left To Right and Right To Left directions properly.

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Thu, 08 Mar 2007 22:30:26 +0100
To: "Wouter Wessels" <wwessels@xs4all.nl>, www-html@w3.org
Message-ID: <op.tov3c00bsmjzpq@acer3010.parc.com>

On Wed, 07 Mar 2007 18:40:42 +0100, Wouter Wessels <wwessels@xs4all.nl>  
wrote:

> When you align a piece of text 'left' in an Englis page, chances are you  
> want it aligned 'right' in an Arabic page.
>
> How wonderful would the world be if there were 2 extra values that one  
> could use in the align argument in for instance <td align="something">

Effectively this is what happens with CSS2.1 now, where it says that the  
inital value of text-align is:

	Initial:  	a nameless value that acts as 'left' if 'direction' is 'ltr',
	'right' if 'direction' is 'rtl'

http://www.w3.org/TR/CSS21/text.html#alignment-prop

CSS3 adds actual values for these two cases, namely 'start' and 'end'.
http://www.w3.org/TR/2003/CR-css3-text-20030514/#alignment-prop

Best wishes,

Steven Pemberton
Received on Thursday, 8 March 2007 21:30:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:08 GMT