Forums
View unanswered posts | View active topics It is currently Sun Apr 20, 2014 3:36 pm



Reply to topic  [ 3 posts ] 
 Body BG Conflicts with CSS3 Pie 
Author Message

Joined: Mon Aug 23, 2010 7:47 am
Posts: 2
Post Body BG Conflicts with CSS3 Pie
I'm trying to use CSS3Pie on a site for the first time and I'm running into two issues:

#1 - The background of any element that gets assigned the behavior property loses the background entirely in IE6.

#2 - I'm applying CSS3Pie to an OL that I'm using for my primary navigation, but it renders semi or completely transparent in IE7 and IE8. Strangely enough, this seems to be tied to the HTML or BODY background. I'm applying a background image on the HTML and BODY tags. If I set the BODY background to "transparent," the issues goes away.

Here's my code:

Code:
html
{   background: #fda234 url(/files/images/template/bg_repeat.gif) repeat left top; }

body
{   background: transparent url(/files/images/template/bg.png) no-repeat center top;
   border-top: 10px solid #cf5a24; }

#FlyOutNav
{   line-height: 120%;
   margin: 0 auto;
   width: 900px;
   min-height: 60px;
   background: rgba(255, 255, 255, 0.91);
   background: #ffffff;
   -webkit-border-radius: 0 30px 0 0;
   -moz-border-radius: 0 30px 0 0;
   border-radius: 0 30px 0 0;
   behavior: url(/js/PIE.htc); }


I really don't understand what is problem is so if anyone has any ideas, I would really appreciate it.


Attachments:
nav-bg.jpg [13.34 KiB]
Downloaded 332 times
Mon Aug 23, 2010 8:45 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: Body BG Conflicts with CSS3 Pie
Please read the top section regarding disappearing backgrounds on the Known Issues documentation page: http://css3pie.com/documentation/known-issues/ -- it sounds like you're running into this issue and you'll need to add position:relative and/or a z-index to get around it.


Mon Aug 23, 2010 4:24 pm
Profile

Joined: Mon Aug 23, 2010 7:47 am
Posts: 2
Post Re: Body BG Conflicts with CSS3 Pie
Thanks Jason. Adding position: relative did work.


Tue Aug 24, 2010 6:37 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.