So I have this code (in http://localhost/index.html):
<input type="button" value="Yea" class="button" />
with the CSS style (in http://localhost/min/css.css):
.button {
background-image: url(../images/button.gif);
}
However, the background doesn’t show up in any version of Internet Explorer. What am I doing wrong?
IE has known issues with the
background-imageproperty. See what happens when you usebackgroundinstead.Or alternatively, you could try