View unanswered posts | View active topics It is currently Sun Jan 19, 2020 3:16 pm

Reply to topic  [ 1 post ] 
 Multiple backgrounds on body in IE7 
Author Message

Joined: Sun Mar 20, 2011 10:22 pm
Posts: 2
Post Multiple backgrounds on body in IE7
This is an FYI based on some testing with multiple backgrounds I had applied to the body element. It's a known issue that PIE does not work with the html and body elements, but it did seem to work in IE8.
   background: url(../images/bkg/gray.png) center top repeat-x, url(../images/bkg/logo_btm.jpg) center top no-repeat, url(../images/bkg/logo_top.jpg) center bottom no-repeat;
   -pie-background: url( center top repeat-x, url( center top no-repeat, url( center bottom no-repeat;
   behavior: url(;

But this does not work in IE7, and it's because of the limitation on the body element. This does work in IE7 when applied to another element, so I was forced to wrap my site in a wrapper div.

FYI if anyone comes across this again. :)

Sun Mar 20, 2011 10:31 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.