Right alignment of numbers

I have a number field in access.mdb which I want to show as right alignment in a text box but it always shows as left alignment.

The field is
<input type="text"  name="PF_BRO_Budget7" value="200" size="10">

I tried this but it made no difference
<input type="text" align="right" name="PF_BRO_Budget7" value="200" size="10">

It seems I can align the box but not the contents.

Any ideas please
Thanks John


johnhardyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ryan ChongConnect With a Mentor Commented:
try:

<input type="text" name="PF_BRO_Budget7" value="200" size="10" style="text-align: right;">
0
 
johnhardyAuthor Commented:
Thanks, that'll do nicely.

Doesnt show in design view but is good in the browser.

Regards

John
0
All Courses

From novice to tech pro — start learning today.