2
Shouts

Capitalise text inputs with css

published 525 days, 31 minutes ago posted by http://franzjunge.myopenid.com/http://franzjunge.myopenid.com/ 526 days, 13 hours, 32 minutes ago
Tuesday, December 14, 2010 1:58:42 AM GMT Sunday, December 12, 2010 12:57:40 PM GMT

Capitalise text inputs with css

When I was build the sign-up screen for toepoke.co.uk I wanted to tidy up the data entry for the player’s name so you get capitalised names.  

  My first thought was to tie into the jQuery focus event and do a little JavaScript once the user left the input field.   Thankfully I thought a little bit more and remembered the text-transform property in CSS, and wondered if this would work against text input fields as well as heading and p tags, etc.   .tcase {    ...

category: ASP.NET | clicked: 0 | | source: blog.toepoke.co.uk | show counter code
tags: C#, CSS, ASP.NET

No comments yet, be the first one to post comment.

To post your comment please login or signup