OE UI and Text Orientation

Author Message

Softriva .com

Thursday 24 August 2006 2:46:39 am

How can I chnage the OE text orientation to display right-to-left text for Hebrew and Arabic Languages?

Any hint will be appreciated.

Marcin Drozd

Thursday 24 August 2006 3:26:02 am

interesting :)
Mayby U have to create a new CSS class and a new custom tag (?)

http://ez-publish.pl

Softriva .com

Saturday 26 August 2006 2:29:00 am

I could not figure it out. When the OE is disabled text inherts

 

html {direction: rtl;}

and it is aligned right-to-left. But when OE is enabled, text is aligned left-to-right

Any more ideas?

Claudia Kosny

Saturday 26 August 2006 2:48:12 pm

Ho OOzy

With a latin font the only difference between direction rtl and ltr is the alignment of the text. If that is the case for hewbrew and arabic languages as well, your setting for the direction might have been overwritten with a text-align:left statement somewhere in the editor. Try to add a text-align:right !important to your stylesheet, maybe that helps.

Greetings from Luxembourg

Claudia

Softriva .com

Sunday 27 August 2006 1:45:21 am

Hiya Claudia

Thank you so, you put me in the right track. I did add

text-align: right !important

to my editor.css body tag as follows:

body
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	text-align:right !important
}

The text aligned right-to-light nicely but my coursers were reversed so I added direction:rtl !important and removed the text-align tag and eveything was perfect text and coursers were perfectly right-aligned.

body
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	direction:rtl !important
}

Marvix Marx

Saturday 06 January 2007 12:04:29 pm

Hi OOzy ..

I had did what u have said here, but didn`t work ... any idea ?!

Softriva .com

Friday 23 February 2007 10:19:17 pm

Sorry, did not see your post.

I had the same but I cleared the browser cache and everything worked ok.

OOzy

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.