Solved

How do yo size button text ?

Posted on 2002-07-19
3
127 Views
Last Modified: 2010-04-09
Hello,

If I put a <font face="Arial, Helvetica, sans-serif" size="-2"> before a netscape form button the button sizes correctly, BUT with IE the text button is unaffected,... how can I size the text on the IE form buttons?

Thanks
Keith

0
Comment
Question by:keithedward
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
knightEknight earned 50 total points
ID: 7165583
in IE, do this:

<INPUT type='button' name='mybutton' style='font: 9pt Arial, Helvetica, sans-serif;'>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 7165584
you may have to play with the point size to get it right ...
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7166290
knight has used the font shorthand, a more reliable way of doing it is,

<input type="button" style="font-family: verdana; font-size: 10px; font-weight: 500; color: #000000;"/>
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

776 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