CSS controls the div to automatically extend to 100% height of the window, which is very practical and good.
css:
html{ height:100%;_height:100%;}
body{ height:100%;_height:100%;}
.minheight{ background :#CCC; width:200px; min-height:100%;_height:100%;}
html: