HTML CSS examples for CSS Layout:2 Column
Create two column layout with top banner 100% width
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html,body { height:100%; } #top { width:100%; height:100px; background-color:Chartreuse; } .table {<!-- w w w . j a v a 2 s .co m--> height:100%; } #division { width:100%; min-height:100%; } #left { background-color:yellow; min-width:100px; } #right { background-color:blue; width:100%; } </style> </head> <body> <table class="table" cellspacing="0"> <tbody> <tr id="top"> <td colspan="2"></td> </tr> <tr id="division"> <td id="left"></td> <td id="right"></td> </tr> </tbody> </table> </body> </html>