Yes.  In layout:

<style>
body { {{=T('direction: ltr'}} };
</style>

and translate as: 'direction: rtl'



On Nov 20, 1:01 pm, "hamdy.a.farag" <hamdy.a.fa...@inbox.com> wrote:
> Hi
>
> How can I set the text direction to follow the default orientation of
> the selected language in my system
>
> suppose my default language selected in system is english, then text
> flows from left right in user_name field and also in last name, mail,
> password
>
> if I turned my language to a Right to Left language, I want the
> authentication form to follow this and text flows from right to left
>
> so, can this be done ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to