在文本框中写反向 [英] writing reverse in the textbox
本文介绍了在文本框中写反向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以相反的顺序在文本框中输入内容,就像乌尔都语一样.是否有任何输入内容
财产做到这一点或任何代码?
方向:rtl;只能从结尾开始,但是输入的文本就在它上面.它不会反向显示
在文本框中查看.
I want to input in a text box in reverse order Like a Urdu language.Is any input
property to do it or any code?
direction:rtl; only start from end but the input text is at it is.It does'nt reverse
looking in the textbox.
推荐答案
只需使用简单的CSS
Just use simple CSS
input[type=text] {
text-align: right;
}
已更新:
input[type=text] {
direction: rtl;
unicode-bidi: bidi-override;
}
这篇关于在文本框中写反向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文