Solved

How do I resize a submit button?

Posted on 2004-09-30
2
410 Views
Last Modified: 2013-12-03
How do I change the width and height dimensions, and font face of a submit button.

Thanks,
Rick
0
Comment
Question by:richardsimnett
2 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 500 total points
ID: 12196902
Hi richardsimnett,

Like this:

<input type="submit" value="Submit" style="width:100px;height:20px;font-family:times,"Times New Roman",serif;" />

For more information on fonts, http://www.codestyle.org/css/font-family/

Regards,
Zyloch
0
 
LVL 14

Expert Comment

by:Esopo
ID: 12196915
You can also do it the simple way:

<input type="submit" value="     Submit     " />


(Although Zyloch's CSS will give you far more control)

Best regards,

Esopo.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

861 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