Solved

How do yo size button text ?

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

Industry Leaders: 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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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.
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…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

756 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