Solved

How do I resize a submit button?

Posted on 2004-09-30
2
409 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 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