Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
do exist solution for change direction in different lines?
I have to use two language in one textarea.
I require to switch to rtl and ltr

forexample:
line1 : rtl
line2 : rtl
line3 : ltr
line4 : rtl
,
...

really don't exist nothing solution!
Posted
Updated 18-Sep-13 2:29am
v5
Comments
Ankur\m/ 18-Sep-13 8:55am    
Inside a same textarea - I don't think it is possible out of the box. I am not sure but Google if creating a custom control helps.
kave2011 18-Sep-13 10:07am    
don't exist other solution without to use textarea for multiline input in html

1 solution

See these links. It might be useful.

Text direction and structural markup in HTML[^]

HTML Global Attributes[^]

Regards..:)
 
Share this answer
 
Comments
Ankur\m/ 18-Sep-13 8:53am    
You can have a direction set for a page by setting dir attribute of the html tag.
The question here is can two directions be used inside a same textarea.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900