fantasai wrote:
> fantasai wrote:
>> Patrick Aljord wrote:
>>> hey all,
>>>
>>> My site in Arabic from right to left works great. But if I want to use
>>> some ltr strings in English, it messes up with my parenthesis like in
>>> this list:
>>>
>>> http://www.democralist.com/lists/show/61
>>>
>>> Check out the first two items of the list, the parenthesis are wrong.
>>> The problem is that the list is generated from the database so there
>>> is no way to guess if it's displaying arabic rtl or english ltr. Any
>>> idea how to solve this?
>> Since your site is in Arabic, you should add dir="rtl" to the <html> element.
>> Like this:
>>
>>    <html dir="rtl">
>>
>> That should solve most of your bidi problems.
> 
> Err, but it won't solve the one right there. For that you can use the
> right-to-left mark, &rlm; on either side of the Latin, like this:
> 
>   2. &rlm;algora&rlm; (100)
> 
> This breaks up the Latin bits so they don't connect into one long 
> left-to-right
> text run.

Another option is to set "unicode-bidi: embed" on an element around "algora".

~fantasai
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to