Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
can anyone tell me - are arabic text blocks (ie persian, egyptian, etc)
displayed right-justified, as hebrew is?


Re: arabic

mahatma wrote:
Quoted text here. Click to load it

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.



Re: arabic

J.O. Aho wrote:
Quoted text here. Click to load it
Such a lot of trouble for such a small and deceased readership.

Re: arabic

Quoted text here. Click to load it

Aren't hieroglyphs sometimes boustrophedonic? (which CSS doesn't

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.

Re: arabic

Scripsit J.O. Aho:

Quoted text here. Click to load it

Right (no pun intended), and you should therefore use <html dir="rtl"> 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.)

Quoted text here. Click to load it

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

Jukka K. Korpela ("Yucca")

Site Timeline