HTML CSS examples for CSS Widget:Table Row
CSS display:table-row to expand when width is set to 100%
<html> <head> <style type="text/css"> .table {<!--from w ww .j a va 2 s .c o m--> display:table; width:100%; } .tr { display:table-row; width:100%; } .td { display:table-cell; } </style> </head> <body> <div class="table"> <div class="tr"> <div class="td"> Lor </div> <div class="td"> Lor </div> <div class="td"> Lor </div> </div> </div> <div class="tr"> <div class="td"> Lor </div> <div class="td"> Lor </div> <div class="td"> Lor </div> </div> <div class="table"> <div class="td"> Lor </div> <div class="td"> Lor </div> <div class="td"> Lor </div> </div> </body> </html>