css - WordPress : Stretched Background Image in IE8 -


i badly need help. background image overly stretched in ie8.

i used wordpress's functionality on background image in edit appearance. chrome, firefox , other ie versions, background appearing okay. when checked in ie8, overly stretched. instead of seeing garden background, saw tip of tree part of garden.

i wondering on can tweak code or can make fit nicely how other browsers show it.

i tried :

  • background-size:cover
  • background-size:1024px 100%;

thanks!

use https://github.com/louisremi/background-size-polyfill

download backgroundsize.min.htc

.selector {      background-size: cover;         -ms-behavior: url(css/backgroundsize.min.htc);      behavior: url(css/backgroundsize.min.htc); } 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -