Return to Snippet

Revision: 3831
at September 23, 2007 15:25 by 1man


Updated Code
#submitButton {
	width: 38px;/* Width of button image */
	height: 19px;/* Height of button image */
	padding: 30px 0 0;
	margin: 0;
	border: 0;
	background: transparent url(images/buttonimage.gif) no-repeat;
	overflow: hidden;
	cursor: pointer; /* hand-shaped cursor */
	cursor: hand; /* for IE 5.x */
	}

Revision: 3830
at September 21, 2007 03:53 by 1man


Initial Code
#submitButton {
	width: 38px;
	height: 19px;
	padding: 30px 0 0;
	margin: 0;
	border: 0;
	background: transparent url(images/buttonimage.gif) no-repeat;
	overflow: hidden;
	cursor: pointer; /* hand-shaped cursor */
	cursor: hand; /* for IE 5.x */
	}

Initial URL


Initial Description
This allows you to replace the bog standard browser button (form buttons) with any image you wish.

Initial Title
Image Replace for Buttons

Initial Tags
image, replace, button

Initial Language
CSS