I'm sure I'm doing something a bit silly here but I can't for the life of me figure out what!
I'm trying to get a bottom margin of 20px to appear below the white block that is center vertically in the browser. I've tried a lot of different things but nothing seems to work.
Any help or ideas would be greatly appreciated…
<!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" />
<meta name="language" content="en" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<style type="text/css">
body {
padding: 0;
background-color: #eaeaea;
margin: 20px 0;
}
#container {
width: 970px;
margin-right: auto;
margin-left: auto;
}
#wrap {
background-color: #fff;
width: 930px;
padding: 30px 20px 20px;
float: left;
height: 1500px;
}
</style>
<title></title>
</head>
<body>
<div id="container">
<div id="wrap">
</div>
</div>
</body>
</html>