あなたは本当に物事をやろうとし、あなたの過ちから学ぶべきです. それにもかかわらず、ここにあなたが求めているレイアウトがあります:
この 実用的なフィドルの例を参照してください!
HTML
<div id="header">My Beautiful website!</div>
<div id="content">
<a href="#" title="">
<img src="http://i328.photobucket.com/albums/l330/slowwkidd3923/backflip.jpg" alt="ups...">
</a>
</div>
<div id="footer">
This is the footer text!
</div>
CSS
/* basics */
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
/* header */
#header {
position: absolute;
z-index:1;
top: 10px;
left: 10px;
}
/* content */
#content {
position: absolute;
left: 0;
right: 0;
top: 10px;
bottom: 20px;
text-align: center;
}
#content img {
height: 96%;
}
/* footer */
#footer {
position:absolute;
bottom: 0;
left: 10px;
right: 10px;
text-align: left;
height: 20px;
line-height: 20px;
}
CSS の学習に役立つリンク:
カスケード スタイル シート
カスケード スタイル シート レベル 2 リビジョン 1 (CSS 2.1) 仕様
MDN :: CSS - リファレンス、チュートリアル、デモ