Solved

Setting font for the text field

Posted on 2000-03-03
1
213 Views
Last Modified: 2013-12-02
All we have the text fields in the HTML form to get some input form the user.
I want to change the font of the text in the text field. How this can be achived ?
0
Comment
Question by:pganeshan
1 Comment
 
LVL 8

Accepted Solution

by:
stefanx earned 10 total points
ID: 2582784
You can do this through a style sheet directive as follows :

<HTML>
<HEAD>
<STYLE>                                   INPUT { font-size : xx-small;
          font-family : Arial;
          border-style : groove;
          line-height : 1;
          padding-top : 2;
        }
</STYLE>
</HEAD>
<BODY>
<FORM METHOD=POST ACTION="processthis.asp">
<INPUT SIZE=10 NAME="name"><BR>
<INPUT TYPE=SUBMIT VALUE="Click Here">
</FORM>
</BODY>
</HTML>
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Diminish Pop-up  in 3 seconds 7 44
Html Table Looping (part 2) 5 27
return false must be hit after calling certain command 10 32
HTML Anchor Link Problem 3 35
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

807 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