Right alignment of numbers

johnhardy
johnhardy used Ask the Experts™
on
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


Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Team Lead
Commented:
try:

<input type="text" name="PF_BRO_Budget7" value="200" size="10" style="text-align: right;">

Author

Commented:
Thanks, that'll do nicely.

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

Regards

John

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial