samedi 5 mai 2012

CSS - Capitalizing textbox input as you type

If you want to capitalize the text you type into an ASP.NET textbox (i.e. Michael Jordan, not michael jordan), there's no need for fancy JavaScript or code-behind ways. 
All you need to do is to add the text-transform:capitalize; CSS property to the CSS of the textbox and it will capitalize your text as you type.


Enjoy.

Aucun commentaire:

Enregistrer un commentaire