form input text centering

, | Tweet this

Had to look this up for a friend. The "text-align" css property allows you to align the value inside a form input text box.

  <input type=text style="text-align:center" name="blah" value="blah">
Want to comment? Send an email to willkg at bluesock dot org. Include the url for the blog entry in your comment so I have some context as to what you're talking about.