Solved

Make the characters in a password field into images?

Posted on 2007-12-04
3
492 Views
Last Modified: 2013-11-19
http://www.osn247.co.uk/temp/buttons.jpg

This is basically what I want, I understand that using different fonts for the input field can give you different characters but I am wondering if you can replace it with an image, much like a <ul>.
0
Comment
Question by:BeenSwank
  • 2
3 Comments
 
LVL 13

Expert Comment

by:R7AF
ID: 20402198
The image you provided is created by you I suppose? I don't know of such an option, certainly not using CSS. With CSS you can use bullet images or background images on input elements, but not on individual characters of those elements, and that's what you're trying to do.

The only option would be to use Javascript. That would mean you do something similar to the wysiwyg editors. Create a hidden password field, and an editor field that fills with the images that you want. How to program this is beyond me.
0
 
LVL 13

Accepted Solution

by:
R7AF earned 125 total points
ID: 20402207
Thinking about it, it is probably not that difficult:

* You push a keyboard button, and read the value of it in javascript.
* The value is put in the hidden password field
* You display a fake text-field and an image for each password character

But how do you handle delete and a blinking cursor?
0
 

Author Comment

by:BeenSwank
ID: 20428066
Thanks ill use that as a starting point.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Objects on Same Line 2 18
css icomoons will not display on page 14 22
CSS Logo Problem. 2 9
Get the number of current month days 2 0
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

30 Experts available now in Live!

Get 1:1 Help Now