Solved

submit button form code

Posted on 2014-04-05
2
430 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
2 Comments
 
LVL 52

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

825 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