Solved

How do I resize a submit button?

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

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

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 article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now