submit button image

Permalink Browser Info Environment
Hi

I am trying to replace the submit button with an image instead but cant seem to get it to work.

I found some code below in the ajax_tableless_layout.php which is the template i am using and added a class submtbtton plus removed the value. It does show on the form now correctly but the button does not do anything now when clicked on. Any advice please :-)

<input type="submit" name="Submit" class="submit submtbtton" value=" " />


CSS
.submtbtton { width:129px; height:34px; background:url(img/submit-button.png)no-repeat; cursor: pointer; }

Type: Discussion
Status: New
Responsive
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Simply adding a class to the submit button should not have any effect on the form submit behaviour. Did you by any chance change the overall <form> element as well? (Perhaps change its ID or class?)

Are you seeing any javascript errors (in Firebug or Web Inspector)?
Responsive replied on at Permalink Reply
Responsive
Hi
have re installed the package and everything is working now. Thanks
jordanlev replied on at Permalink Reply
jordanlev
Great, glad to hear it!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.