Entry
How can I set the alignment INSIDE the textfield of a formular ?
Feb 3rd, 2005 04:56
Stoyan Stefanov, Markus Mirsberger,
<input style="text-align: right;" type="text" name="some_name1"
value="I'm aligned right" />
<input style="text-align: center;" type="text" name="some_name2"
value="I'm centered" />
<textarea style="text-align: center;" name="some_name3">
And I'm centered
too
</textarea>
Using this to align text in password fields can look really ... hmm,
surprising :)
<input style="text-align: center;" type="password" name="pswd" />