HTML CSS examples for CSS Layout:Layout
HTML+CSS Layout with 3 rows, middle row fluid sandwiched by fixed height rows
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body { height:100%; } header {<!--from ww w. j a v a 2 s . c o m--> height:65px; background-color:Chartreuse; } footer { height:65px; background-color:yellow; } .bodyPan { height:calc(100% - 129px); } </style> </head> <body> <header> </header> <div class="bodyPan"> </div> <footer> </footer> </body> </html>