HTML CSS examples for CSS Layout:3 Column
Getting the perfect 3-column layout
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .row{<!--from ww w .j a va 2s. c o m--> display:table; width:100%; } .col{ border:1px solid #000; display:table-cell; width:33%; } </style> </head> <body> <div class="row"> <div class="col"> C1 </div> <div class="col"> C2 </div> <div class="col"> C3 </div> </div> </body> </html>