Solved

Form button size

Posted on 1998-03-06
1
172 Views
Last Modified: 2013-12-25
I've created a form that uses buttons to execute a CGI script.  My question: on some browsers, the buttons appear "larger" than on some other browsers where the buttons are sized according to the button label.  See http://www.fahc.org/address2.htm
0
Comment
Question by:m110585
1 Comment
 
LVL 6

Accepted Solution

by:
tecbuilder earned 10 total points
ID: 1857922
The problem most likely comes from your page not specifically identifying a font and font size.  If you don't specifiy a font and font size then the user's default font and font size will go into effect.  Hence, the button size changes.  This is really evident when you use spaces to increase the width of the button.  For example:  spaces of a courier font are much larger than spaces of an arial font.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Responsive Design or Mobile Sites? 4 36
Button to go back 3 38
Wordpress Security 29 71
How to use NFS (Network File System) in Asp.net mvc 5? 4 55
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

680 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