Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

Form text input monospaced font in IE...

The font used for input text boxes is a monospaced
font in Netscape, but in IE, it's a variable width
font.  Is there a way to make the font used in IE4
monospaced?

I tried using <TT> around the input text box.  I also
tried using the <FONT> tag around it (it seems that
font sizes and font faces can be controlled in
netscape, but IE4 won't allow either, and neither
browsers allow font color).

Is there some other way to control the font in IE4,
like maybe using CSS or something as part of the
<INPUT type=text> tag??
0
jbirk
Asked:
jbirk
1 Solution
 
MasseyMCommented:
Try this... <INPUT STYLE="font-family: courier, arial;" TYPE="TEXT" VALUE="Monospaced?"></INPUT>
You can set the font via the font-family CSS tag...

- Matt
0
 
jbirkAuthor Commented:
This worked great for me MasseyM!  It never even crossed my mind to use style sheets.  I haven't really used them yet, guess I'll have to get into the practise.
Thanks,
Josh
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now