I need separate underscores

I would like to show a few underscores for the user to tell them how many characters they need to fill in to satisfy the length requirement.

My problem: underscores are not separated by spaces.

Q: What font or CSS style do I need to use so that my underlines can be easily counted?

+5
source share
2 answers

You can simply use letter-spacing: 0.4em;to highlight various characters in an element. I assume you are using an element input, therefore:

input {
    letter-spacing: 0.4em; /* or whatever measurement you prefer... */
}

JS Fiddle demo .

Literature:

+8
source

All Articles