Need to know how to use an image as a submit button

I have been searching around for a way to replace the ugly 'submit'
button with a pretty graphic, and I cannot seem to get anything to
work. This has to be easier than it seems! An example would be much

A more elegant way is to change the look of the submit button using
css, for example, you could add a background image and remove the
default border and background color. By doing this you could still use
the helper.

I think you're looking for image_submit_tag:


rails has its image submit tag . you can have a look at
or for help

The image_submit_tag is exactly what I needed. Thanks a lot.