Background & Headers not working correctly.
-
Thanks for looking at this first off. Alright, my problem is I can’t figure out how to get my background and header to completely cover my page. For example, here’s the site.
body{
background-image: url(/images/greyback2.jpg);
background-repeat: repeat;
font-family: Arial;
text-align: center;
}#container{
border: 0px solid #A9A9A9;
text-align: center;
width: 450px;
margin-top: 308px;
margin-right: 40px;
margin-left: 0px;
background-color: transparent;
text-align: left;
}
#header{
padding: 100px 0px 0px 0px;
float: left;
clear: both;
width: 1024px;
background: url(/images/bloghead.png);
color: #3c3d40;
height: 768px;
}
#content{
float: right;
padding: 0px;
color: #000000;
width: 260px;
font-size: 11px;
letter-spacing: 0px;
line-height: 10px;
}#contentright{
margin: 15px;
float: right;
width: 130px;
font-size: 11px;
letter-spacing: 0px;
line-height: 10px;
color: #5B5B5B;
}<strike>#footer{
display: none;
width: 1024px;
background: url(/images/blogfooter.png);
color: #3c3d40;
height: 300px;
padding: 0px;</strike>
}What I’m trying to say is the url /images/greyback2.jpg is suppose to be the background and the url /images/bloghead.png is suppose to be the header. Now, when I actually put the background where the background is suppose to be and the header suppose to be, the #content ends up under the “header” instead of on top of it. I hope I didn’t confuse anyone.
The topic ‘Background & Headers not working correctly.’ is closed to new replies.