dadamssg Posted April 18, 2009 Share Posted April 18, 2009 how do you make an image a submit button in a form? Quote Link to comment https://forums.phpfreaks.com/topic/154602-image-as-submit-button/ Share on other sites More sharing options...
Axeia Posted April 18, 2009 Share Posted April 18, 2009 Although there is a way to make an image submit, I'd simply style the button. <input type="submit" style="background: transparent url( path/to/image.jpg ); border: 0; margin: 0; padding: 0; display: block; height: 40px; width: 40px;" /> Quote Link to comment https://forums.phpfreaks.com/topic/154602-image-as-submit-button/#findComment-813101 Share on other sites More sharing options...
jackpf Posted April 18, 2009 Share Posted April 18, 2009 <input type="image" src="image.png" /> Quote Link to comment https://forums.phpfreaks.com/topic/154602-image-as-submit-button/#findComment-813156 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.