Solved

Right alignment of numbers

Posted on 2006-10-20
2
240 Views
Last Modified: 2010-04-25
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
Comment
Question by:johnhardy
2 Comments
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 400 total points
ID: 17775272
try:

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

Author Comment

by:johnhardy
ID: 17775365
Thanks, that'll do nicely.

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

Regards

John
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question