0

By defalult the text in input box is left aligned, is it possble to have it right aligned? The reason to do this is I have a list of input box vertically, to input the price for each item, I want to show price(with decimal) right aligned so it looks more natural.

Thanks for any comment.

4
Contributors
4
Replies
6
Views
11 Years
Discussion Span
Last Post by dss
0

Actually, you would use CSS:

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

I'm not sure what language the other poster is coding in; probably ASP.NET/VB.NET.

0

If you are using dreamweaver of frontpage.
then just select the textbox and choose alingment.
otherwise you need to write the code as given by other user.
Thankx

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.