PDA

View Full Version : English text in RTL mode


sagi
09-17-2007, 09:33 AM
Hello,

I'm trying to set up a website using UDM4 in RTL-Mode.

The menu seems to look fine with Hebrew text, but I have a few items that contain english text and I was surprised to find out that the english text was reversed (eg. 'olleh' showing up instead of 'hello').

I did some research and found out that it is caused by the "unicode-bidi: bidi-override" directive.

Why is this directive activated by default? I've never seen it in use in any RTL website before.

Sagi

bcarl314
09-17-2007, 03:02 PM
You may want to try some custom CSS to override the default menu style. For example...


<li class='ltr'><a href='' class='ltr'>English Link</a></li>


then css...

.ltr {
direction: ltr !important;
}


That may just do the trick.

sagi
09-18-2007, 09:14 AM
I already managed to solve the problem by simply disabling the unicode-bidi directive:
<style type="text/css">.udm a *,.udm a { unicode-bidi: normal; }</style>

I just wonder why it has been there in the first place.