HTML CSS examples for CSS Layout:3 Column
Layout 3 Fluid Divs width 2 Fixed Margins between them
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from ww w. ja v a 2 s . c om--> overflow:hidden; margin:0; } .wrap { margin:0 -10px; } .box { width:34.34%; float:left; } .box div { background:grey; height:151px; margin:0 10px; } </style> </head> <body> <div class="wrap"> <div class="box"> <div> one </div> </div> <div class="box"> <div> two </div> </div> <div class="box"> <div> three </div> </div> </div> </body> </html>