HTML CSS examples for CSS Layout:Layout
DIVs and CSS layout lining up
<html> <head> <style> #product_wrapper {<!--from ww w . j av a2 s . c om--> display:inline-block; height:76%; width:76%; background-color:Chartreuse; text-align:top; margin:0 auto; } #images_wrapper { background-color:yellow; display:inline-block; height:100%; width:31%; margin:0; padding:0; } #content_wrapper { background-color:blue; display:inline-block; height:100%; width:71%; margin:0; padding:0; } </style> </head> <body> <div id="product_wrapper"> <div id="images_wrapper"> Lorem </div> <div id="content_wrapper"> Lorem </div> </div> </body> </html>