Forums
View unanswered posts | View active topics It is currently Fri Dec 15, 2017 2:26 am



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.
Code:
   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(http://www.mrhcia.com/beta_site/images/bkg/gray.png) center top repeat-x, url(http://www.mrhcia.com/beta_site/images/bkg/logo_btm.jpg) center top no-repeat, url(http://www.mrhcia.com/beta_site/images/bkg/logo_top.jpg) center bottom no-repeat;
   behavior: url(http://www.mrhcia.com/beta_site/scripts/PIE.htc);


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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 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.