HTML CSS examples for CSS Widget:Div Table
Create table with DIV
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .container {<!-- ww w . j av a 2 s. c om--> width:51%; } .number { width:21px; display:inline-block; height:21px; border:2px solid Chartreuse; padding:3px; text-align:center; } .number a:link { text-decoration:none; } </style> </head> <body> <div class="container"> <div class="number"> <a href="#">1</a> </div> <div class="number"> <a href="#">2</a> </div> <div class="number"> <a href="#">3</a> </div> <div class="number"> <a href="#">4</a> </div> <div class="number"> <a href="#">5</a> </div> <div class="number"> <a href="#">6</a> </div> </div> </body> </html>