HTML CSS examples for CSS Layout:Responsive Layout
Floating divs for responsive website
<html lang="en"> <head> <title>Lorem ipsum d</title> <style> * {<!-- ww w .ja v a2 s. co m--> box-sizing:border-box; } .one { width:24%; float:left; background-color:Chartreuse; } .two { width:77%; float:left; background-color:yellow; } .three { float:left; width:24%; background-color:blue; } </style> </head> <body translate="no"> <div class="one"> Lorem i </div> <div class="two"> Lorem i </div> <div class="three"> Lorem i </div> </body> </html>