Auto capitalize first letter in first/last name

I’ve noticed that many customers type their names in all lowercase or all caps and its really ugly to look at. Has anybody made any modification so that it always displays the first/last name with the first letter capitalized and the rest lowercase?

Specifically I’m looking to have this done when viewing invoices.

you can add a css attribute to the correct tpl file, ex:

/* Title Case */


However note this doesn’t always work perfectly and only works when the text is input in all lowercase, letters that are already uppercase will be ignored by the css attribute because it thinks the text is already title-cased, ex:

john smith = John Smith



Try it and see if it works for you, Thanks - Sno