Re: CSS Techs: 5.1 Specifying the direction of text

Hi John,

> I'm having trouble understanding the technique-- 
> the example isn't clearly identified nor explained.

I agree; that particular technique would benefit from an example. I'm not
sure if you're asking for someone to provide an explanation and example, or
just flagging it as an issue that needs addressing. Just in case you're
asking for an explanation, in a nutshell...

The reading direction of some writing systems (for example, Arabic and
Hebrew) is from right to left as opposed to left to right. The CSS direction
property allows content authors to determine the direction of the text. The
possible values for the direction property are, ltr (left to right), rtl
(right to left), and inherit.

The unicode-bidi property allows the direction of the text to be overridden,
which is useful for documents that support multiple languages. The possible
values for the unicode-bidi property are normal (doesn't change the level of
embedding with regard to the current Unicode direction), embed (opens a new
level of embedding, maintaining the implicit Unicode direction), and
bidi-override (opens a new level of embedding, overriding the Unicode
direction).

Example:

.arabicsection
{
    direction: rtl;
    unicode-bidi: bidi-override;
}

Best regards,

Gez
_____________________________
Supplement your vitamins
http://juicystudio.com
Keeping developers informed!
IWA/HWG Member

Received on Wednesday, 8 December 2004 21:39:00 UTC