Solved

Setting font for the text field

Posted on 2000-03-03
1
220 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

696 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