Making an image act like a button
It sounds like you want an image button: <input type=”image” src=”https://stackoverflow.com/questions/16131988/logg.png” name=”saveForm” class=”btTxt submit” id=”saveForm” /> Alternatively, you can use CSS to make the existing submit button use your image as its background. In any case, you don’t want a separate <img /> element on the page.