Forums
View unanswered posts | View active topics It is currently Sat Nov 22, 2014 11:55 am



Reply to topic  [ 3 posts ] 
 Container Div has a background - PIE not working quite right 
Author Message

Joined: Wed Jan 26, 2011 5:41 am
Posts: 1
Post Container Div has a background - PIE not working quite right
Hi,

I have the following code, where the contaciner DIV has a background colour set.
The border of the inner element needs to be rounded, but with the background colour set in the contaciner, the borders disappear. When I remove the background colour attribute from the contaciner all works fine. Can you help at all.

Code:
   #container {
 width: 960px;
 margin: 0px auto;
 position: relative;
}

#container #content-inner {
 margin: 0px;
 border: 1px solid #B22222;
 border-top: none;
 background-color: #FFFFFF;
 color: #000000;
}
   
   #myAwesomeElement {
 margin: 0px 10px 20px 0px;
 float: left;
 width: 295px;
 height: 200px;
 overflow: hidden;
 border: 1px solid #B22222;
 text-align: center;
 -webkit-border-radius: 8px;
 -moz-border-radius: 8px;
 border-radius: 8px;
 behavior: url(skins/bsl_college2a/PIE.htc);
}

.clear { clear: both; }


Code:
 <div id="container">
  <div id="content-inner">
   
   <div id="myAwesomeElement">this is some text</div>
   <div class="clear"></div>
   
  </div> 
 </div>


Wed Jan 26, 2011 5:54 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post Re: Container Div has a background - PIE not working quite r
FAQ: http://css3pie.com/documentation/known-issues/#z-index


Wed Jan 26, 2011 10:54 am
Profile

Joined: Wed Feb 02, 2011 6:07 am
Posts: 1
Post Re: Container Div has a background - PIE not working quite r
hi all, i have had the same Problem - now it's cleared!
set the DIV relative - and now you can smile (with the IE .... )

Steven


Wed Feb 02, 2011 6:13 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 7 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.