Dear Ido

If you want to mark up a whole page as RTL, you should put the dir attibute on the HTML element and not on the BODY element.

The W3C'S Internationalization Best Practices recommends adding dir="rtl" to the html tag any time the overall document direction is right-to-left.

Internet Explorer has been developed so that appltying the dir attribute to the HTMl or BODY elements has different effects on rendering and UI mirroring.

Accoring to microsoft documentation:
For <html dir=rtl> the following behavior can be expected:
* The OLE/COM ambient property of the document is set to AMBIENT_RIGHTTOLEFT. • The document direction can be toggled through the document object model (DOM) (document.direction="ltr/rtl"). • An HTML Dialog will get the correct extended windows styles set so it displays as a RTL dialog on a Bidi enabled system. • If the document has vertical scrollbars, they will be on the left side if dir="rtl".

If the dir="rtl" attribute is placed on the BODY instead of the HTML element: • The OLE/COM ambient property for the document will not reflect the direction on the BODY. • The ability to toggle the document's direction will be lost, because the body's direction is explicitly set. • Dialog window frames and captions will not reflect the direction of the BODY. • Vertical scrollbars will be reflect the direction assigned to the body, not the document.

I suspect that putting the dir tagg on the BODY element will have implications for UI mirroring in a rnage of contexts.

Andrew



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
begin:vcard
fn:Andrew Cunningham
n:Cunningham;Andrew
org:State Library of Victoria;Vicnet
adr:;;328 Swanston Street;Melbourne;VIC;3000;Australia
email;internet:[EMAIL PROTECTED]
title:Research and Development Coordinator
tel;work:+61-3-8664-7430
tel;fax:+61-3-9639-2175
tel;cell:0421-450-816
note;quoted-printable:Current projects:=0D=0A=
	=0D=0A=
	Open Road=E2=80=94http://www.openroad.net.au/=0D=0A=
	=0D=0A=
	MyLanguage=E2=80=94http://www.mylanguage.gov.au/=0D=0A=
	=0D=0A=
	WoVG Multilingual portal research project=E2=80=94http://www.mylanguage.v=
	ic.gov.au/
x-mozilla-html:FALSE
url:http://home.vicnet.net.au/~andrewc/
version:2.1
end:vcard


Reply via email to