font-family in input

May 11, 2010 at 16:46:58
Specs: Windows 7
How can I put the font family in input type text like this:
<input type="text" style='font-family: "Courier New",Courier,monospace' />

I've tried this but it doesn't work.

See More: font-family in input

Report •

May 19, 2010 at 13:37:45
I'm a bit confuse on what you're trying to do? If this is an input type for a form, you want to format the text when you display it.. not when you input it.

Report •

May 22, 2010 at 17:28:05
Well, I fixed it anyway...
I was trying to make the prompt font courier and make the font within the input box (form) also be courier. And, no, I did want to format it as it's typed.

Report •

Related Solutions

Ask Question