You are not logged in.
Hi,
My site supports right-to-left languages (Hebrew, Arabic).
Is it possible to set the button "right to left direction" to be pressed when the form loads?
Thanks!
Last edited by MangoPlex (2006-11-21 18:04:16)
[url=http://mangoplex.com/forums/display_forum.php?fid=2]MangoPlex[/url] - The forums centre
Offline
OK, I've found out how!
To set an initial right to left, put between the <textarea> and the </textarea>:
<p style="direction:rtl; text-align:right"><br /></p>
To set an initial left to right, put between the <textarea> and the </textarea>:
<p style="direction:ltr; text-align:left"><br /></p>
It's a good idea to set it even if your site is English only, that way the output will always have <p> around the first paragraph. Otherwise in some cases the first paragraph will have no <p> around it...
[url=http://mangoplex.com/forums/display_forum.php?fid=2]MangoPlex[/url] - The forums centre
Offline