问题
I have a textbox to which I have applied style direction:rtl;
since I want to type numbers in it. But when I add a minus sign -
in it, it comes ahead of the numbers

I want it to be like the way we see normally

Any help would be appreciated
回答1:
Please add style="text-align:right;" remove direction:rtl; from style
回答2:
the rtl direction property means "right to left", that's why is behaves like that.
来源:https://stackoverflow.com/questions/24507771/textbox-input-right-to-left-with-minus-sign-on-left