Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-gb" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
*, body, html {margin:0;padding:0}
body {
background:#cccccc;
}
/* Layouts */
#container {
background:#ffffff;
width:800px;
margin:0 auto;
height:100%;
}
#logobar {
height:30px;
border-bottom:1px solid #000;
}
#content {
border:1px solid #fff;
}
#footer {
height:30px;
border-top:1px solid #000;
}
</style>
</head>
<body>
<div id="container">
<div id="logobar">
asdfsa
</div>
<div id="content">
sdfsdfsdf<br/>
sdfsdfsdf<br/>
sdfsdfsdf<br/>
</div>
<div id="footer">
sdfsdf
</div>
</div>
</body>
</html>
There's the basic code... I'm trying to get the bottom footer bar to stick to the very bottom of the screen and the content to stretch the gap. I found one example on the net, and although it works in firefox, it's a mess in IE7.
I'm hoping it's something simple... thanks for any help
