I have textbox in my web application , which is right aligned . When i type normal charters (such as a, b c …) it works properly .But if i type a $name , it appears as name$ . Why is it so .Is there any solution to avoid this .
I use javascript to set the alignment
$(“#<%=txtName.ClientID %>”).css(‘direction’, ‘rtl’);
I have textbox in my web application , which is right aligned . When
Share
You have probably used the
dirattribute/CSS set tortlinstead of proper CSS alignment.The
dirattribute:As you can see this is not limited to alignment.
Use CSS alignment/positioning to align HTML controls.