HTML CSS examples for CSS Layout:Column Layout
Create equal height columns in pure CSS
<!doctype html> <html> <head> <style> #rightsideBG{<!-- w w w. j a v a 2 s . c o m--> float:right; background:silver; width:300px; border: 3px dotted silver; } #leftsideBG{ float:left; background:gold; width:100px; margin-left:-100px; border: 3px dotted gold; } </style> </head> <body> <div id="rightsideBG"> <div id="leftsideBG"> test test test test </div> </div> </body> </html>