Solved

How do yo size button text ?

Posted on 2002-07-19
3
128 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

856 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