Solved

How do yo size button text ?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
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…

930 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

18 Experts available now in Live!

Get 1:1 Help Now