HTML CSS examples for CSS Layout:Box
create a simple full screen box in HTML/CSS
<html> <head> <style> html, body { height:100%; min-height:100%; border-width:6; border-style:solid; } table {<!-- w w w .j a v a 2 s . com--> height:100%; width:100%; } td { height:100%; width:100%; vertical-align:middle; text-align:center; } </style> </head> <body> <table> <tbody> <tr> <td>Lorem i</td> </tr> </tbody> </table> </body> </html>