HTML CSS examples for CSS Layout:Column Layout
Create columns with equal heights for table layout
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .table-div{display:table} .tr-div{display:table-row} .td-div{display:table-cell;border:1px solid silver} </style> </head> <!--from ww w . ja v a2 s . c o m--> <body> <div class="table-div" style="width:100%"> <div class="tr-div"> <div class="td-div"> td-div 1a </div> <div class="td-div"> td-div 2a </div> <div class="td-div"> td-div 3a </div> </div> <div class="tr-div"> <div class="td-div"> td-div 1b </div> <div class="td-div"> td-div 2b </div> <div class="td-div"> td-div 3b </div> </div> </div> </body> </html>