Solved

submit button form code

Posted on 2014-04-05
2
443 Views
Last Modified: 2014-04-20
I have some code for my contact form with the standard SUBMIT button. I have my own graphic for the submit button. How do I replace the standard button with my customize button. Thx
0
Comment
Question by:leblanc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39980813
You could use
<input type="image" width="100" src="http://farm9.staticflickr.com/8446/7862424222_d97dd39d21_o.jpg">

Open in new window


Here is working sample http://jsbin.com/vuxagaki/1/edit?html,output

A more modern way would be to use the button tag <button type="submit"></button>
http://jsbin.com/vuxagaki/2/edit
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
<style>
  button.abc{
   height: 125px; 
width: 125px;   
background-image:url('http://ts2.mm.bing.net/th?id=HN.608032674750663463&pid=1.7');
background-repeat:no-repeat;
}
    
  }
  </style>
  </head>
<body>
  <button class="abc"></button>
</body>
</html>

Open in new window

0

Featured Post

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Introduction to Processes

691 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