Hey I accomplished what I want to do, it works exactly how I want it to. It also degrades gracefuly in craptastic browsers...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Medieval Conflicts</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<div class="center">
<div id="head"></div>
</div>
</div>
<div id="body">
<div class="center">
<div id="sub-left"></div>
<div id="main"></div>
<div id="sub-right"></div>
</div>
</div>
<div id="footer">
<div class="center">
<div id="foot"></div>
</div>
</div>
</div>
</body>
</html>
Code:
html,body {
margin:0;
padding:0;
height:100%;
background-color:#000000;
background-image:url(images/background.jpg);
background-position:center;
background-repeat:repeat-y;
}
#container {
min-height:100%;
position:relative;
}
#header {
width:100%;
height:133px;
}
#body {
width:100%;
padding-bottom:50px;
}
#footer {
position:absolute;
bottom:0;
width:100%;
height:50px;
}
.center{
width: 950px;
position: relative;
left: 50%;
margin-left: -475px;
}
#head {
width:950px;
height:133px;
padding:0px;
border:0px;
}
#sub-left {
width:196px;
height:auto;
padding:0px;
padding-bottom:50px;
border:0px;
float:left;
}
#main {
width:554px;
height:auto;
padding:0px;
padding-bottom:50px;
border:0px;
float:left;
}
#sub-right {
width:200px;
height:auto;
padding:0px;
padding-bottom:50px;
border:0px;
float:right;
}
#foot {
width:950px;
height:50px;
padding:0px;
border:0px;
}
.text {
margin:10px;
color:#FFFFFF;
}
Bookmarks