Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

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


0
johnhardy
Asked:
johnhardy
1 Solution
 
Ryan ChongCommented:
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now