×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Gary Peach
Added: Feb 3, 2017 4:30 PM
Modified: Feb 3, 2017 4:31 PM
Views: 8
  1. <body>
  2.     <div style="display: table;">
  3.         <div style="display: table-row;">
  4.             <div style="display: table-cell;">Row 1, Cell 1</div>
  5.             <div style="display: table-cell;">Row 1, Cell 1</div>
  6.             <div style="display: table-cell;">Row 1, Cell 1</div>
  7.         </div>
  8.         <div style="display: table-row;">
  9.             <div style="display: table-cell;">Row 2, Cell 1</div>
  10.             <div style="display: table-cell;">Row 2, Cell 1</div>
  11.             <div style="display: table-cell;">Row 2, Cell 1</div>
  12.         </div>
  13.     </div>
  14. </body>