HTML CSS examples for CSS Layout:Responsive Layout
Simple 3 Column responsive layout
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body { height:100%; } .container {<!--from w w w.j av a2 s. c o m--> width:100%; height:100%; display:table; } div>div { display:table-cell; } .one { width:16%; background:Chartreuse; } .two { width:61%; background:yellow; } .three { width:26%; background:blue; } </style> </head> <body> <div class="container"> <div class="one"> <div> Lorem </div> </div> <div class="two"> <div> Lorem </div> </div> <div class="three"> <div> Lorem i </div> </div> </div> </body> </html>