/ Published in: CSS
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#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 */ }