Return to Snippet

Revision: 33731
at October 12, 2010 21:39 by resting

Initial Code
.submit {
height: Xpx;
width: Xpx;
background-color: transparent;
/*gets rid of the white background color that
is there by default*/
background-image: url(../images/image.png);
_background-image: url(../images/image.gif);
background-repeat: no-repeat;
border: none;
text-indent: -5000px;
text-transform: uppercase;
/*don't ask, but this gets rid of the
dash in IE7 and 6*/
_display: block;
/*displays the image in IE6*/
_font-size: 0px; 
/*gets rid of the value because apparently the
text-indent doesn't do a damn thing in IE6*/

Initial URL

Initial Description
Taken from (

Initial Title
CSS input submit background image

Initial Tags
css, image, background

Initial Language