Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Capitalize names in xprofile on input/signup


danbpfr
Participant

@chouf1

I wouldn’t have a long debate about uppercasing before or after DB storing. My english is to poor for that. I understand the problemn because i debate myself about in many past situation.

So, back to our sheeps. My CSS trick is valid since 1998’s recommandation for CSS2

You can learn more about here, ie :

http://www.w3schools.com/Css/pr_text_text-transform.asp

To have the first letter of each word in uppercase, you can use text-transform:capitalize;

But feel free to write your own function if you thinck it’s valid php, aproved code and needed service by the majority of your visitors. :-)

Skip to toolbar