Solved

Font type

Posted on 1998-08-24
3
176 Views
Last Modified: 2013-12-02
I have the following html code:

  <FORM METHOD="POST" ACTION="file.htm">
    <TABLE CELLPADDING="10" BORDER=0 ALIGN="CENTER">
      <TR>
        <TD BGCOLOR="#0080C0" ALIGN="LEFT">
          <B>
            <FONT FACE="ARIAL" SIZE=2 COLOR="#FFFFFFF">
              Field1 <BR><SELECT NAME="cboCombo" > 
              <OPTION> Option1 </OPTION>
              <OPTION> Option2 </OPTION>
              <OPTION> Option3 </OPTION>
              </SELECT>
              <BR>
              <BR>
              Field2 <BR><INPUT NAME="txtText1" SIZE="22">
              <BR>
              <BR>
              Field3 <BR><INPUT NAME="txtText2" SIZE="22">
              <BR>
              <BR>
              Field4 <BR><TEXTAREA NAME="txtText4" ROWS="5" COLS="19"></TEXTAREA>
              <BR>
            </FONT>
          </B>
        </TD>
      </TR>
      <TR>
        <TD BGCOLOR="#0080C0" ALIGN="CENTER">
          <INPUT TYPE=SUBMIT VALUE= "Ok">
        </TD>
      </TR>
    </TABLE>
  </FORM>

Inside all the fields, the font type is Arial. The problem is that inside the Textarea, the font type changes, I think to Sans.
0
Comment
Question by:carflores
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:carflores
ID: 1836944
I forgot to tell that I´m using IE4 to browse the page..
0
 
LVL 8

Accepted Solution

by:
jbirk earned 50 total points
ID: 1836945
OK, you can use CSS to control the font of form elements.  Here is an example:
<INPUT NAME="field" STYLE="font-family: courier; font-size: 14pt;" TYPE="TEXT" SIZE=50>
This will work for a text area as well.  Of course it only works on 4.0+ browsers (IE 4 will work).  Just add the style="" part to your page.  The font-size is just there because I make it slightly bigger on my page.  If you don't want that (I wouldn't think you would) just remove it.

-Josh
0
 
LVL 8

Expert Comment

by:jbirk
ID: 1836946
Oh, upon reading this question again, I think that maybe you are asking how you can fix that from the user end?  SO that all textarea's will be that font by default unless someone uses CSS to specify it like I mentioned.
Is that what you meant?
-Josh
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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