开发者

How can i align the text to right side in Textbox in Javascript.... ??? By default it is left-align

My problem is that i couldn't align the text in the textbox from the right side...

Generally this kind of align are used in Calculator... wher开发者_StackOverflow中文版e digits are align from the right side...

i want to do this in HTML by using javascript....


<input type="text" style="text-align: right" />

should work.

Other interesting attributes are: direction:rtl;unicode-bidi:bidi-override;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜