I ran the CSS Through the validator, and it made no change.
So i tried removing position attributes, also to no avail. When i removed the position attributes from the content and sidebar it just put them behind the "endthepage" div. Heres the updated css. I think this issue is with margins, not positions. Because it works perfectly fine in FF with a -300px margin.
Code:
#html, body {
margin-top : 0;
padding : 0;
margin-bottom : 0;
}
a {
color : #96cb45;
}
#allContent {
width : 1000px;
background : #ffffff;
font-family : arial;
font-size : 12px;
margin-left : auto;
margin-right : auto;
}
h1 {
font-family : arial;
font-size : 15px;
font-weight : bold;
color : #033f78;
border-bottom : 1px dotted #033f78;
margin-bottom : 0;
}
h2 {
font-family : arial;
font-size : 12px;
font-weight : bold;
color : #033f78;
margin-bottom : -1px;
margin-top : 0;
margin-right : -1px;
margin-left : -1px;
}
#head {
width : 1000px;
height : 280px;
}
#bodywrapper {
background-image : url(images/lbgbody.jpg);
height : 300px;
width : 1000px;
margin-top : 0;
background-repeat : no-repeat;
}
#sidebar {
background-image : url(images/bgtrans.png);
float : left;
width : 265px;
min-height : 540px;
position : relative;
border : 0 solid;
z-index : 1;
margin-bottom : -300px;
padding-top : 5px;
padding-bottom : 10px;
padding-left : 0;
}
#sidebartitle {
width : 250px;
height : 25px;
color : #ffffff;
position : relative;
z-index : 2;
font-weight : bold;
font-family : arial;
}
#sidebarwrap {
float : left;
margin-left : 10px;
}
#contentwrap {
float : right;
width : 698px;
margin-right : 10px;
}
#contenttitle {
width : 700px;
height : 25px;
position : relative;
z-index : 2;
color : #ffffff;
font-weight : bold;
font-family : arial;
float : right;
}
#contentmain {
background-image : url(images/bgtrans.png);
min-height : 600px;
width : 680px;
float : right;
z-index : 1;
position: relative;
border : 0 solid;
padding-top : 5px;
padding-left : 10px;
padding-right : 10px;
padding-bottom : 10px;
margin-bottom : -300px;
}
#footer {
position : relative;
display : block;
}
#endthepage {
background-image : url(images/lbgfoot.png);
background-position : bottom;
min-height : 375px;
padding-bottom : 0px;
clear : both;
background-repeat : no-repeat;
}
#subfooter {
height : 31px;
padding-top : 2px;
background : #104680;
padding-bottom : 2px;
}
#linknav {
color : #ffffff;
float : left;
border : 0 solid;
width : 825px;
padding-top : 8px;
padding-left : 50px;
}
#whatwebuywrap {
width : 300px;
min-height : 150px;
padding-left : 60px;
padding-right : 30px;
padding-top : 10px;
border : 0 solid;
}
#whatwebuy {
border : 0 solid;
float : left;
}
#whatwebuy2 {
border : 0 solid;
float : right;
}
Thanks for your help guys. Any help is appreciated.
Bookmarks