HTML CSS examples for CSS Layout:Layout
Robust page layout when re-sizing
<html> <head> <style type="text/css"> #left { border:2px solid Chartreuse; width:41%; height:auto; float:left; } #right { border:2px solid yellow; width:41%; height:auto; float:left; } </style> <!-- w w w . j a v a2 s. c o m--> </head> <body> <div id="left"> <h1>Lorem ip</h1> <h1>Lorem ip</h1> <h1>Lorem ip</h1> <h1>Lorem ip</h1> </div> <div id="right"> <h1>Lorem ip</h1> <h1>Lorem ip</h1> <h1>Lorem ip</h1> <h1>Lorem ip</h1> </div> </body> </html>