I am writing some css that requires background-size: 100% 100%
.
Unfortunately, as this is a css3 property, it is un supported in IE8 and below. However, I read about a hack, which I have tried using below:
#submit{
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( enabled='true'
src='/images/btn.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( enabled='true'
src='/images/btn.png', sizingMethod='scale')";
background: url('/images/btn.png') no-repeat;
background-size: 100% 100%;
}
#submit
is the id of a submit button.
Unfortunately, this doesn't seem to be work. Any solutions?