Question:

How can i change the text-align of a text field?

by  |  earlier

0 LIKES UnLike

In the code below what can i write that my text in the text field align to right:

<input type="text" name="FieldData3" value="you'r name" maxlength="100" size="62"> </td>

please help me

 Tags:

   Report

1 ANSWERS


  1. you need to add: style=&quot;text-align: right;&quot;

    &lt;input type=&quot;text&quot; name=&quot;FieldData3&quot; value=&quot;you&#039;r name&quot; maxlength=&quot;100&quot; size=&quot;62&quot; style=&quot;text-align: right;&quot;&gt;

    daz it mon!

    PS-Here is something cool too.  Try this:

    &lt;input type=&quot;text&quot; name=&quot;FieldData3&quot; value=&quot;you&#039;r name&quot; maxlength=&quot;100&quot; size=&quot;62&quot; style=&quot;text-align: right;&quot; onfocus=&quot;this.value = &#039; &#039;;&quot;&gt;

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.