Skip to Content
author's profile photo Former Member
Former Member

Right-aligning numbers in input fields

Has anyone been able to right-align number entries in input fields? HTMLB doesn't seem to offer input-field alignment as a property. I have a table with input fields and a couple of total sums at the end of the table. It makes sense to align these numbers to the right when entered by users.



Message was edited by: Chinhao Lee

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 28, 2004 at 07:34 AM

    The is what the documentation of htmlb:inputfield says and it works

    <b><i>alignment: Use this attribute to determine the general text alignment. Possible values are RIGHT and LEFT.</i></b>



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.