Ok. I'm still new at this so be patient. I have a simple page at the moment. It has 7 divs:
container
header
top
inner
topleft
topright
footer
css:
Everything lines up fine and looks ok except the background-image for both topright and topleft do not show through. It's like something is being painted over top of it but I don't see how or where. Any help is appreciated...be gentle.
Thanks.
container
header
top
inner
topleft
topright
footer
Code:
<body>
<div id="container">
<div id="header" align="center"><img src="images/img1.gif" /></div>
<div id="top">
<div id="inner">
<div id="topleft">
</div>
<div id="topright">
</div>
</div>
</div>
<div id="footer"><img src="images/img2.gif" /></div>
</div>
</body>
css:
Code:
#container {
width: 775px;
margin-left:auto;
margin-right:auto;
}
#inner{margin:0; width:100%; } /* The ie/pc pecularity */
/* HEADER */
#header {
background-color: transparent;
margin: 0;
}
#footer {
background-color: white;
color: black;
font-size: 9px;
margin: 0;
text-align: center;
clear: both;
position: relative;
}
#top
{
position: relative;
height: 300px;
min-height: 100%;
border-left: 187px solid #4C86C5;
border-right: 199px solid #4C86C5;
}
#topleft
{
float: left;
width: 187px;
margin-left: -187px;
margin-right: 1px;
background-color: #4C86C5;
position: relative;
background-image: url(imgleft.gif);
}
#topright
{
float: right;
width: 199px;
margin-left: 1px;
margin-right: -199px;
background-color: #4C86C5;
position: relative;
background-image: url(imgright.gif);
}
Everything lines up fine and looks ok except the background-image for both topright and topleft do not show through. It's like something is being painted over top of it but I don't see how or where. Any help is appreciated...be gentle.
Thanks.