Monkey gets the banana :)
May 30th, 2008Webmonkey used to be a great resource for web developers long back. It’s back now as a wiki ![]()
The original web developer’s resource has returned. Webmonkey has been completely redesigned, and we’re ready to rock once more. Also, our entire content library is now hosted on a wiki, so every tutorial, reference page and code example is open for editing. Come on in and show us what you’ve got!
Go check it out.
Elsewhere:
How can I change the appearance of the ‘Submit’ button?
June 2nd, 2006Jayant, I have seen many sites using fancy form ‘Submit’ buttons
(font, color of button, etc.). How do I change the default form submit
buttons to those fancy ones?
- Anish Khanna
There are bascially two popular ways in which you can tweak the appearance of a submit button in an HTML form:
The most popular and preferred way these days is to use CSS attributes.
<style type="text/css">
.funkybutton { background-color: #ccffcc; font-size: 160%;
font-weight: bold; }
</style>
<form action="http://www.example.com/test.php" method="get">
<input type="submit" value="Submit This!!!" class="funkybutton" />
</form>
This will appear as:
In the method 2, all you need to do is:
<form action="http://www.example.com/test.php" method="get">
<input type="image" name="submit" src="submit.gif" border="0" />
</form>
This will appear as something like:
(depending upon the image used)
Some other methods include creating buttons using Flash, Java Applets.