Forums
View unanswered posts | View active topics It is currently Sun Dec 17, 2017 11:43 am



Reply to topic  [ 1 post ] 
 background colour of a parent divs covers the -pie divs 
Author Message

Joined: Sun Feb 13, 2011 2:28 pm
Posts: 1
Post background colour of a parent divs covers the -pie divs
I've got a parent div and three divs inside. When I set the background of the parent div, it covers the PIE divs.
Code:
 <div id="bottom">
                        <div class="left">
                                <p>Thhis is left</p>
                        </div>
                        <div class="center">
                                <p>This is center</p>
                        </div>
                        <div class="right">
                                <p>This is right</p>
                        </div>
                </div>

Code:
#bottom {
        width: 900px;
        float: left;
}


#bottom .right, #bottom .left, #bottom .center {
        float: left;
        height: 300px;
        margin-top: 15px;

        border: 1px solid #696;
        padding: 60px 0;
        text-align: center;
        width: 280px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        -webkit-box-shadow: #666 0px 2px 3px;
        -moz-box-shadow: #666 0px 2px 3px;
        box-shadow: #666 0px 2px 3px;
        background: #EEFF99;
        background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
        background: -moz-linear-gradient(#EEFF99, #66EE33);
        background: linear-gradient(#EEFF99, #66EE33);
        -pie-background: linear-gradient(#EEFF99, #66EE33);
        behavior: url(css/PIE.htc);
}


So I want to set the background for #border but when I do it all three columns inside #border are invisible.
Thanks for your help.
portia

EDIT: obviously, this only happens in IE (I'm testing it on IE7)


Sun Feb 13, 2011 3:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Google [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.