HTML CSS examples for CSS Layout:Height
Make div's height 100%
<html> <head> <style type="text/css"> body, html { height:100%; margin:0px; } #myDiv {<!-- w w w. ja v a 2s. co m--> height:100%; background:red; } </style> </head> <body> <div id="myDiv"></div> </body> </html>