If I comment out #wrap's margin and padding, the header completely disappears and the bottom portion moves up with the columns. I want bottom part to stay where it is rather than go up with the columns.
also I can't get the margins on col2 right. If I increase the margins from 203px to higher, col2 gets smaller and the cols don't match up anymore
Code:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<style type="text/css">
html, body {
margin: 0;
font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #000;
background: #000;
}
#wrap {
width: 100%;
/*margin: 53px 0 0;
padding: 400px 0 45px;*/q
background: #fff;
}
#container {
/*height: 450px;*/
width: 800px;
margin: 0 auto;
overflow: auto;
background: #ff;
}
#col1 {
height: 200px;
width: 250px;
margin: 100px 0 0 0;
float: left;
}
#col2 {
height: 400px;
margin: 0 223px 0 0px;
}
#col3 {
height: 300px;
width: 250px;
margin: 50px 0 0;
float: right;
}
#col1, #col2, #col3 {
border: 2px solid #000;
background: #930;
}
#footer {
width: 100%;
height: 60px;
background: #333399;
}
</style>
</head>
<body>
<div id="wrap">
<div id="container">
<div id = "col1">column1</div>
<div id = "col3">column3</div>
<div id = "col2">column2</div>
<!--end container--></div>
<!--end wrap--></div>
<div id="footer">
<!--end footer--></div>
</body>
</html>