문제

I am trying to make my site compatible with IE7. Initialy i used background-size: contain to fit the backgroun inside an <a> element. But IE7 does not support CSS3. So my question is: Is there a way to resize the background through CSS or i have to resize the .png images?

도움이 되었습니까?

해결책

you can use this :

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images.gif',
sizingMethod='scale');

-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images.gif',
sizingMethod='scale')";

and replace sizing method and image with what you want

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top