HTML CSS examples for CSS Layout:Column Layout
Fluid Columns
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #container-wrapper{<!-- w ww . jav a 2s. c o m--> width:500px; border:1px red solid; height:300px; } #container{ width:98%; border:1px green solid; margin:1%; } .line{ float:right } </style> </head> <body> <div id="container-wrapper"> <div id="container"> <div class="left"> <div class="line"> 11111111111111111 </div> This is LEFT </div> </div> </div> </body> </html>