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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -