Solved

How do yo size button text ?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now