W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2004

Re: CSS Techs: 5.1 Specifying the direction of text

From: Gez Lemon <gl@juicystudio.com>
Date: Wed, 8 Dec 2004 21:41:57 -0000
Message-ID: <001e01c4dd6e$be23ba10$6700a8c0@juicy.com>
To: <w3c-wai-gl@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:32 GMT