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

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 UTC