I'm experiencing a minor issue with fonts in my stylesheet.
This is my CSS:
body
{
...
font: normal 62.5% "Lucida Sans Unicode",sans-serif;
}
#wrapper_page
{
...
font-size: 1.2em;
}
input, select, textarea
{
...
font: bold 100% "Lucida Sans Unicode",sans-serif;
}
And this is the result:
I think there is an internal css setting, somewhere, on webkits that modify the shape of the password dots. How can I get rid of it and have the same style on every browser?
Thanks!
EDIT: I just found something curious: by default, webkit browsers apply this CSS to password fields:
input[type="password"]
{
-webkit-text-security: disc;
}
And that's what is replacing the classic middot. I tried setting it to circle or none, but I cannot get something similar to what is shown by other browsers.
EDIT: I FOUND A SOLUTION. If you are using "Lucida Sans Unicode" font for your website, that's the problem! The only font that emulate correctly the password field's big dots of other browsers is Verdana, mixed with a little bit of letter spacing. So, for both Opera and Webkit, use the following code to fix it:
.opera input[type="password"],
.webkit input[type="password"]
{
font: large Verdana,sans-serif;
letter-spacing: 1px;
}
The best I can find is to set input[type="password"] {font:small-caption;font-size:16px}
Demo:
input {
font: small-caption;
font-size: 16px;
}
<input type="password">