I can anchor the footer using the following but when I place the image in there (topbluea.jpg), then shrink the window (by reducing it in the corner), the footer retracks back. Also, how can I position the text so that it sits to the top, right of sidebar.jpg. Again, when the window dimensions shrinks, the text wraps to a second line which it shouldn't. What am I doing wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<title>Anchor footer</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
html, body {height: 100%; background-color:#ECECEC; margin:0; padding:0; border:0;}
#holder {position: relative; min-height: 100%; background:url(images/side
bar.jpg) repeat-y left; margin:0; width:100%;}
* html #holder{height: 100%;}
#header {height:256px; margin:0; background-image: url('images/top_bg.jpg'); background-repeat: repeat-x; padding:0px;}
#maincontent {padding-bottom:0px}
#footer {width:100%; height:64px; background-image: url('images/bottest.jpg');
background-repeat: repeat-x; position: relative; padding:0px 0px;}
p {padding:0px; margin:0; border:0;}
#navcol {
float:left;
padding:0px 12px 12px 8px;
z-index:3;
width:100%;
}
#maincol {
width:100%;
float:left;
padding:10px 0px 0px 0px;
}
#leftblue {
position:absolute;
left:0px;
top:0px;
z-index:6;
}
</style>
</head>
<body>
<div id="leftblue"><img src="images/topblue2a.jpg"
border="" alt=""></div>
<div id="header"></div>
<div id="holder">
<div id="maincol">
<div id="maincontent"><p>Conten
t goes hereasdfadfasdfasdfasdfasd
f</p></div
>
</div>
</div>
<div id="footer"></div>
</body>
</html>