views:

329

answers:

2

Hi all!

Is this possible to change the default styling of password field? I mean replacing the default stars-symbols with something like • or etc. jQuery or simply css/html? Thanx.

+2  A: 

The masking characters are set by the browser and operating system and you can't customize them with CSS.

Here's a thread that covers it more. You could fake it, but it will break if JavaScript is disabled.

John Sheehan
Not if you use progressive enhancement. Start with a password field and use javascript to replace it with your custom field.
DisgruntledGoat
+3  A: 

Take a look at this article:

http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/

karim79