php - internet explorer image specifications -


i using wordpress , making statis page there. needed background image part of content, made new template php file code:

 <div style="background: url(/xxx.xxx) no-repeat;               background-size: 100% auto; filter: progid:dximagetransform.microsoft.alphaimageloader                  (src='/xxx.xxx',sizingmethod='scale');              -ms-filter: "progid:dximagetransform.microsoft.alphaimageloader         (src='/xxx.xxx',sizingmethod='scale');"> 

it works in other browsers in picture width spans , height proportional, in internet explorer (version 8) image distorted height spans everything, not want!!

how can make image not distorted , width spans while height still in porportion?


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -