From: http://www.desteps.com/design/layout/539.html
<! -- Put IE into quirks mode -->
<! 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">
<Head>
<Fck: Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> Div and CSS design full-screen Adaptive Layout </title>
<Style type = "text/CSS">
HTML {Height: 100%; max-Height: 100%; padding: 0; margin: 0; Border: 0; Background: # FFF; font-size: 76%; font-family: georgia, palatino Linotype, Times New Roman, Serif, "";
/* Hide overflow: hidden from ie5/MAC */
/*/*/
Overflow: hidden;
/**/
}
HTML {
Scrollbar-face-color: orange;
Scrollbar-Highlight-color: # FFF;
Scrollbar-shadow-color: # c00;
Scrollbar-3dlight-color: # c00;
Scrollbar-arrow-color: #000;
Scrollbar-track-color: # c0c0c0;
Scrollbar-darkshadow-color: # FFF;
}
Body {Height: 100%; max-Height: 100%; overflow: hidden; padding: 0; margin: 0; Border: 0 ;}
# Content {overflow: auto; position: absolute; Z-index: 3; top: 100px; width: 96%; bottom: 80px; left: 2%; Background: #666 ;}
* Html # Content {top: 0; left: 2%; Height: 100%; max-Height: 100%; width: 96%; overflow: auto; position: absolute; Z-index: 3; border-top: 100px solid # FFF; border-bottom: 80px solid # FFF ;}
# Head {position: absolute; margin: 0; top: 0; left: 1px; display: block; width: 100%; Height: 90px; Background: orange; Background-position: 0 0; Background-repeat: No-Repeat; font-size: 4em; Z-index: 5; overflow: hidden; color: # FFF; border-bottom: 1px # c0c0c0 solid; text-align: center ;}
# Foot {position: absolute; margin: 0; bottom: 0; left: 2%; display: block; width: 96%; Height: 70px; font-size: 1em; z-index: 5; overflow: hidden; color: # FFF; text-align: center ;}
# Content P, H2 {padding: 10px; font-size: 12px; color: # FFF ;}
# Content P. Bold {font-size: 1.2em; font-weight: bold; color: red ;}
# Logo {Height: 75px; line-Height: 75px; text-align: center; display: block ;}
. Footleft {width: 20%; Height: 70px; line-Height: 70px; float: Left; Border: 1px # c0c0c0 solid; Background: Blue ;}
. Footmid {width: 58%; Height: 70px; line-Height: 70px; margin-left: 1%; float: Left; Border: 1px # c0c0c0 solid; Background: Blue ;}
. Footright {width: 20%; Height: 70px; line-Height: 70px; float: Right; Border: 1px # c0c0c0 solid; Background: Blue ;}
A: Link, A: visited {color: # FFF ;}
</Style>
</Head>
<Body>
<Div id = "head">
<Span id = "logo"> full-screen Adaptive Layout </span>
</Div>
<Div id = "foot">
<Div class = "footleft"> <a href = "#" _ fcksavedurl = "#"> full-screen Adaptive Layout </a> </div>
<Div class = "footmid"> <a href = "#" _ fcksavedurl = "#"> full-screen Adaptive Layout </a> </div>
<Div class = "footright"> <a href = "#" _ fcksavedurl = "#"> full-screen Adaptive Layout </a> </div>
</Div>
<Div id = "content">
<H2> the browser below IE6 is displayed as the odd mode, because a comment is added to the first line of the HTML code. If the height of the scroll bar in IE is not displayed after deletion, </H2>
<P class = "bold"> This layout was tested in the following browsers: ie5.5, IE6, IE7, TT, opera 9.63, firefox3.0, Google, and IE8. </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
</Div>
</Body>
</Html>