Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Form text input monospaced font in IE...

Posted on 1998-07-25
2
Medium Priority
?
401 Views
Last Modified: 2013-12-02
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
Comment
Question by:jbirk
2 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 120 total points
ID: 1844889
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
 
LVL 8

Author Comment

by:jbirk
ID: 1844890
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

971 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