HTML CSS examples for CSS Widget:Div
Stack these two divs on top of each other
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #container {<!--from w ww.j a v a2 s .c o m--> width:501px; height:100px; position:relative; } #div1, #div2 { width:100%; height:100%; position:absolute; top:0; left:0; } </style> </head> <body> <div id="container"> <div id="div1"> <p class="large-bold-font">Lorem ipsum dolor </p> <p id="Customer.Description" class="small-font"></p> </div> <div id="div2"> <p class="large-bold-font">Lorem ipsum dolor </p> <p id="Customer.Description" class="small-font"></p> </div> </div> </body> </html>