HTML CSS examples for CSS Layout:3 Column
Create 3 divs layout with the middle one fluid
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div {<!--from w ww . jav a2s .c om--> height:100px; } .container { width:100%; } .left { float:left; width:51px; background:yellow; } .right { float:right; width:51px; background:yellow; } .middle { background:Chartreuse; color:yellow; } </style> </head> <body> <div class="container"> <div class="right"> Right </div> <div class="left"> Left </div> <div class="middle"> Middle </div> </div> </body> </html>