Solved

How do I resize a submit button?

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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 …

757 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

20 Experts available now in Live!

Get 1:1 Help Now