Align Text in Text Boxes

C

Casey

I have some text boxes that I am using for input from
users. Some of them I would like to have align any
entries of text to the right instead of the left alignment
that they allow. How can I have the text entries align to
the right inside of the? The following is what the
properties for one of the text boxes is.

<input type="text" name="T1" size="32" tabindex="2">

Is there an attribute that I can add to solve this
issue?

I would appreciate any assistance.

Thanks
 
K

Kevin Spencer

Hi Casey,

Add the following style attribute to your textbox:

style="text-align:right"

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
C

Casey

Thank you Kevin.
-----Original Message-----
Hi Casey,

Add the following style attribute to your textbox:

style="text-align:right"

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top