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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Input Tag - Align Tex Right 1

Status
Not open for further replies.

CTekMedia

Programmer
Oct 5, 2001
634
US
This should be easy but.... lol

I am populating a form field from a query. It is numerical (currency) so I want the data to align right instead of the default left. I have tried variations of the below with no success. Do I need to use CSS?

<INPUT name=&quot;s_limit&quot;
type=&quot;text&quot;
align=&quot;right&quot;
id=&quot;s_limit&quot;
value=&quot;#Recordset1.s_limit#&quot;
size=&quot;10&quot;>

Thanks in advance!

Idealism increases in direct proportion to one's distance from (or ignorance of) the problem.



BT
 
Yes. You need css.....like this:

<INPUT name=&quot;s_limit&quot; type=&quot;text&quot; style=&quot;text-align:right;&quot; id=&quot;s_limit&quot; value=&quot;#Recordset1.s_limit#&quot; size=&quot;10&quot;>

Rick

-----------------------------------------------------------
RISTMO is back! Sorry I've been away for so long--it's been a busy year ;-)
RISTMO Designs
Arab Church
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top