0

I have this line of code to delete images:

<form method="post">
<input type="submit" name="deleteImage6" value="Delete">
</form>

This creates the old boring style button that says Delete. How can I change the button to appear as a 10x10 pixels sized image with red cross on it

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
  • possible duplicate of [How to change an input button image using CSS?](http://stackoverflow.com/questions/195632/how-to-change-an-input-button-image-using-css) – Nick Oct 22 '14 at 16:51

1 Answers1

0

You can use an image submit button.

<input type="image" src="/cross.png" border="0" alt="Delete" />

roughcoder
  • 1,190
  • 1
  • 8
  • 11