• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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