Improve company productivity with a Business Account.Sign Up

x
?
Solved

How do I resize a submit button?

Posted on 2004-09-30
2
Medium Priority
?
419 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 2000 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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 …

606 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