|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
CSS password input field.
I am trying to find out how to change my password input field from dots to vertical lines. I have seen this done before, but never looked at the code. I was wondering if any gurus that read these forums knows the answer.
__________________
Moojjoo |
|
#2
|
|||
|
|||
|
<input type="password" name="passwd" id="passwd" value="test" size="30" maxlength="12" style="font-family: courier, sans-serif;">
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
That did not do it????
That was not the solution...
|
|
#4
|
||||
|
||||
|
Short of writing some sort of javascript to apply to a regular text field that converts characters onkeypress to whatever character you wish to use (while setting a hidden field to the actual password), I know of know way to accomplish this. I can find no css or html attributes that would govern the masking characters.
|
|
#5
|
|||
|
|||
|
Thanks
I will be sure to share with the group the answer once I find it. This is a mission impossible task that I will accomplish.
|
|
#6
|
|||
|
|||
|
As far as I knew, this was based on the browser/OS you were using... And this isn't something that can be changed via CSS.
I may be wrong, but I'm pretty sure I'm right! ![]()
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#7
|
|||
|
|||
|
Re: That did not do it????
Quote:
Also, take into consideration the solution will NOT work in netscape. Not sure about mozilla, but definately not netscape. |
|
#8
|
|||
|
|||
|
Nope did not work
<input style="font-size:12px;width:85px;font-family:Lucida Console" type="password" name="password">
Thats the closest I have gotten. I am just really curious what the answer is... |
|
#9
|
|||
|
|||
|
In your style attribute add:
PHP Code:
|
|
#10
|
|||
|
|||
|
Post a Web Address
Post a Web address of your password field box.
|
|
#11
|
|||
|
|||
|
I took a closer look and it looks like this unfortunately only works in XP: http://laidbak.net/samplecss/fancypass
|
|
#12
|
|||
|
|||
|
Not in my XP :P ..your probably need explorer running..because I use Geoshell
|
|
#13
|
|||
|
|||
|
Sounds about right.
|
|
#14
|
|||
|
|||
|
font-family: courier, sans-serif;
font-family: courier, sans-serif;
You know when I am at home it works and at work it shows up as dots??? Beats me I am using XP Pro at both work and home??? |
|
#15
|
||||
|
||||
|
I'd use a Javascript function which replaces the '*' as they are typed.
Check out the onKeyPress event handler. |
|
#16
|
|||
|
|||
|
Quote:
|
|
#17
|