Forums
View unanswered posts | View active topics It is currently Sat Oct 25, 2014 1:46 am



Reply to topic  [ 3 posts ] 
 Interesting bug using different background 
Author Message

Joined: Tue Oct 11, 2011 11:23 am
Posts: 2
Post Interesting bug using different background
All I'm trying to do is - use different background colors in parent and child divs.
While adding behavior:url("PIE.htc") to the child div - background color messes up.
If I remove background-color from the parent div - works fine.

Can this be fixed so I can use background-color in parentdiv?

Code:
<html>
<head></head>
<body>
  <div id="parentdiv" style="background-color:#000000;color:#ffffff;">JUST TEST
    <div id="childdiv" style="background-color:#ffffff;color:#000000;border:1px solid #999;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;behavior:url('PIE.htc');">
      THIS IS A BUG TEST
    </div>
  </div>
</body>
</html>


Tue Oct 11, 2011 12:05 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post Re: Interesting bug using different background
This is your issue: http://css3pie.com/documentation/known-issues/#z-index


Tue Oct 11, 2011 12:08 pm
Profile

Joined: Tue Oct 11, 2011 11:23 am
Posts: 2
Post Re: Interesting bug using different background
The most greatest project.
The most greatest forum!

position:relative made it work.

Thanks a lot.


Tue Oct 11, 2011 12:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Yahoo [Bot] and 6 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.