By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,813 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,813 IT Pros & Developers. It's quick & easy.

right alignment of text in the text box.

P: 1
Hi All

I need the text in the textbox should be right aligned and i used
style="text-align:right;" in the input tag.With it the text gets right aligned but when the user clicks a particular textbox it doesnot show cursor there. So it creates inconvenience to the user since he doesnt understand which field he is entering into.
So do suggest some possible solution, i dont want to include javascript in the jsp so refrain from it . I tried all possible ways if there is any other way plz let me know.
Jan 28 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 490
I'm affrain you can't do that. text areas/ text boxes are purely for text entry.
Take a look at this for a possible solution...

Reverse egineer that for the desired effect.
Jan 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.