arabic
am 16.11.2007 00:12:32 von mahatmacan anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
displayed right-justified, as hebrew is?
thanks!
can anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
displayed right-justified, as hebrew is?
thanks!
mahatma wrote:
> can anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
> displayed right-justified, as hebrew is?
Arabic is right-to-left written language and should be right aligned.
As far as I know hieroglyphs are left-to-right and should be left aligned.
--
//Aho
J.O. Aho wrote:
> mahatma wrote:
>> can anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
>> displayed right-justified, as hebrew is?
>
> Arabic is right-to-left written language and should be right aligned.
>
> As far as I know hieroglyphs are left-to-right and should be left aligned.
>
Such a lot of trouble for such a small and deceased readership.
On 2007-11-16, Harlan Messinger
> J.O. Aho wrote:
>> mahatma wrote:
>>> can anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
>>> displayed right-justified, as hebrew is?
>>
>> Arabic is right-to-left written language and should be right aligned.
>>
>> As far as I know hieroglyphs are left-to-right and should be left aligned.
>>
> Such a lot of trouble for such a small and deceased readership.
Aren't hieroglyphs sometimes boustrophedonic? (which CSS doesn't
support).
Arabic has a large non-deceased readership. OP should remember to put
"direction: rtl" or 'dir="rtl"' in the CSS or HTML. Direction: rtl
results in default text-alignment of right, and left-overflow.
Scripsit J.O. Aho:
> mahatma wrote:
>> can anyone tell me - are arabic text blocks (ie persian, egyptian,
>> etc) displayed right-justified, as hebrew is?
>
> Arabic is right-to-left written language and should be right aligned.
Right (no pun intended), and you should therefore use for a
page in Arabic or in other languages that use the Arabic script, such as
Persian (Farsi). Declaring the language, e.g. via lang="ar", is good
practice, though not practically that important, and it does _not_ imply
writing direction. By HTML rules, the default writing direction is left to
right, and consequently the default alignment is to the left, and you are
_not_ supposed to be able to override this with a language setting but by
setting the dir attribute explicitly.
(Text in Arabic is displayed right to left due to the inherent
directionality of letters, but this does not cover all aspects of writing
direction, and browsers may get it wrong at times. Hence, the dir attribute
is essential.)
> As far as I know hieroglyphs are left-to-right and should be left
> aligned.
I suppose "mahatma" meant Egyptian Arabic, which deviates from Standard
Arabic and exists as a separate written language to some extent (whereas
most other forms of Arabic are basically spoken languages only, Standard
Arabic being the written variant). There is nothing special about Egyptian
Arabic, as opposite to standard Arabic, in HTML authoring, as far as I
know.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/