lundi 3 août 2015

Remove regular submit button when using an image?

I want to use an image as a submit button for a form:

<!DOCTYPE html>
<html>
<body>
  <form action="/cgi-bin/script.cgi" method="GET">
    <input type="hidden" name="status" value="ok">
    <input type="image" src="/images/button.png">
  </form> 
</body>
</html>

The HTML above will result in a clickable image, but also a regular submit button right next to the image with the text http://ift.tt/1g0fX5l.

I only want the image the be shown. What am I doing wrong?




Aucun commentaire:

Enregistrer un commentaire