CSS3 PIE Forums
http://css3pie.com/forum/

Multiple backgrounds don't work in IE7
http://css3pie.com/forum/viewtopic.php?f=6&t=2061
Page 1 of 1

Author:  lemon_juice [ Thu May 16, 2013 4:41 am ]
Post subject:  Multiple backgrounds don't work in IE7

I have this declaration to display multiple backgrounds:
Code:
#middle {
   position: relative;
   background: url('/www/images/bottom-grad.png') center bottom repeat-x,
      url('/www/images/bottom.png') center bottom no-repeat,
      url('/www/images/bottom-bg.gif') center bottom repeat-x,
      white;
   -pie-background: url('/www/images/bottom-grad.png') center bottom repeat-x,
      url('/www/images/bottom.png') center bottom no-repeat,
      url('/www/images/bottom-bg.gif') center bottom repeat-x,
      white;
   behavior: url('/www/css/PIE.htc');
}


With Pie 2.0 this works in IE8 but in IE7 no backgrounds are shown.

With Pie 1.0 this works both in IE7 and IE8 (I simply replaced behavior to point to version 1.0 leaving the rest of the code the same). I can't see any reason why version 2.0 doesn't work in IE7 so I think that I've found a bug. If not, what can be wrong in my code?

Author:  jason [ Thu May 16, 2013 9:55 am ]
Post subject:  Re: Multiple backgrounds don't work in IE7

Definitely sounds like it could be a bug. Would you be able to put together a standalone test case and open a ticket in GitHub for this?

Author:  lemon_juice [ Fri May 17, 2013 5:28 am ]
Post subject:  Re: Multiple backgrounds don't work in IE7

Okay, here is the bug report: https://github.com/lojjic/PIE/issues/275

Author:  lazicu [ Thu Nov 06, 2014 2:50 am ]
Post subject:  Re: Multiple backgrounds don't work in IE7

Are sure that you used correct syntax? Maybe for IE there is important thing like order of values, look at it here: multiple backgrounds in CSS3. If you compare your exampe and example in the article, you will see that repeat-x goes before position of background image.

Author:  lemon_juice [ Thu Nov 06, 2014 4:01 am ]
Post subject:  Re: Multiple backgrounds don't work in IE7

Thanks, but my bug report is 4 years old now! I don't care about IE7 any more, let it rest in peace :mrgreen:

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/