Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input box data entry alignment

Status
Not open for further replies.

Kyosa

Technical User
Jun 12, 2000
47
0
0
US
Doe anyon know if there's a way to change the data entry inside an input boc to right-to-left. i have a form with several boxes used for entering dollar amounts..just would be nice if those could go right-to-left. just something that's been bugging me.

thanks for any suggestions!!
Kyosa


"The key to flexibility is indecision!" :)


 
Try using CSS to change the alignment of the text inside your textbox.

Brief Example:
<input type=&quot;text&quot; name=&quot;textBoxName&quot; style=&quot;text-align:right&quot;>

Note: May not work in older browsers.
Works in NN7, IE6 (windows)
Doesn't work in NN4.72 (windows) Hope this helps.
Ciao, K----------------
&quot;If you were supposed to understand it, we wouldn't call it code&quot; - FedEx
 
Kim,
Thank you for the tip...it worked beautifully!!!


Kyosa


&quot;The key to flexibility is indecision!&quot; :)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top