HTML CSS examples for CSS Widget:Div Table
use dives to get html table
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .Cell {<!--from ww w . j av a 2s. c o m--> width:100px; height:51px; border:2px solid Chartreuse; float:left; margin-left:11px; } .Cell:first-child { margin-left:0px; } .Row { margin-top:11px; overflow:hidden; } .Row:first-child { margin-top:0px; } .DivTable { float:left; border:2px solid yellow; } </style> </head> <body> <div class="DivTable"> <div class="Row"> <div class="Cell"></div> <div class="Cell"></div> <div class="Cell"></div> </div> <div class="Row"> <div class="Cell"></div> <div class="Cell"></div> <div class="Cell"></div> </div> <div class="Row"> <div class="Cell"></div> <div class="Cell"></div> <div class="Cell"></div> </div> </div> </body> </html>