dadamssg Posted April 18, 2009 Share Posted April 18, 2009 how do you make an image a submit button in a form? 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;" /> 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" /> Link to comment https://forums.phpfreaks.com/topic/154602-image-as-submit-button/#findComment-813156 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.