D
Daniel Bleisteiner
I have several understanding problems with HTML and the dir="rtl"
attribute. Maybe you can clear things up for me...
I have to evaluate the current possibilities for using HTML forms for the
arabic language and found two different things related to that topic. The
first is the dir="rtl" attribute which can be used for many HTML tags like
TEXTAREA and others. From my understanding the attribute should cause the
text to be written from right to left... possibly right-aligned at the
same time. It only does the alignment - NOT the textorder. When I type
something in the textarea the characters get appended to the right end of
the text.
Have a look at the following example: http://www.da3x.de/RTL.html
As far as my understanding goes the characters should also be added to the
left end of the text. But all browsers behave the same way (with small
differences concerning the exclamation mark of the last sentence (IE and
Mozilla put this and ONLY this last mark at the left end - Opera doesn't!).
Do all browsers make the same error or is my understanding wrong? I'd like
know how some arabic people think about that! Shouldn't be all newly typed
characters appended to the left end of the string?
Another element in HTML is BDO which can be used as <bdo
dir="rtl">test</bdo>. This TURNS the text as I'd also expect it from the
"dir"-attribute - but doesn't affect the textarea, no matter how my html
is constructed. I'd really like to clear this up because I need to
implement some routines in my server-system and I need clearance for this
GUI topics.
Thanks for all your help!
attribute. Maybe you can clear things up for me...
I have to evaluate the current possibilities for using HTML forms for the
arabic language and found two different things related to that topic. The
first is the dir="rtl" attribute which can be used for many HTML tags like
TEXTAREA and others. From my understanding the attribute should cause the
text to be written from right to left... possibly right-aligned at the
same time. It only does the alignment - NOT the textorder. When I type
something in the textarea the characters get appended to the right end of
the text.
Have a look at the following example: http://www.da3x.de/RTL.html
As far as my understanding goes the characters should also be added to the
left end of the text. But all browsers behave the same way (with small
differences concerning the exclamation mark of the last sentence (IE and
Mozilla put this and ONLY this last mark at the left end - Opera doesn't!).
Do all browsers make the same error or is my understanding wrong? I'd like
know how some arabic people think about that! Shouldn't be all newly typed
characters appended to the left end of the string?
Another element in HTML is BDO which can be used as <bdo
dir="rtl">test</bdo>. This TURNS the text as I'd also expect it from the
"dir"-attribute - but doesn't affect the textarea, no matter how my html
is constructed. I'd really like to clear this up because I need to
implement some routines in my server-system and I need clearance for this
GUI topics.
Thanks for all your help!