HTML CSS examples for CSS Widget:Div Table
implement DIV for table structure
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .cell {<!-- w w w . j av a 2 s. co m--> float:left; width:51%; } .cell_inner { border:2px solid Chartreuse; padding:6px; margin:2px; } </style> </head> <body> <div> <div> <div class="cell"> <div class="cell_inner"> Lorem </div> </div> <div class="cell"> <div class="cell_inner"> Lorem </div> </div> </div> <div> <div class="cell"> <div class="cell_inner"> Lorem </div> </div> <div class="cell"> <div class="cell_inner"> Lorem </div> </div> </div> </div> </body> </html>