CSS image for submit button - clicking image must submit form
- by Tom
Please help,
I have a form on wordpress. I want the user to be able to click an image instead of the standard submit button.
I have the image appear and the submit button disappear - but nothing happens when I click on the image.
This is the code I am using:
.formBuilderForm .formBuilderSubmit {
clear: both;
text-align: right;
display:block;
width:228px;
height:49px;
background: url(my image url) no-repeat;
text-indent:-999em;
Before you say "google it" or try search:
I have tried the methods mentioned here:
http://www.queness.com/post/798/5-techniques-to-style-buttons-using-images-and-css
I've read similar posts such as this on stackoverflow but they don't solve my frustratingly simple problem.
How to change input button image using CSS?
Thanks for your help.