[Solved] how to put one div in front of a other in html?


Is this what you looking..?

  <html>
    <body>
      <style>

       #div_1
       {
         position:absolute;
         left:0px;
         top:0px;
         z-index:-1;
       }
     </style>

    <div id='div_1'>
       <img src="https://www.google.co.in/images/srpr/logo3w.png" > 
    </div>

    <div style="color:#0000FF"  id='div_2'>
       <p>This is some text.</p> 
    </div>

    </body>
  </html>

solved how to put one div in front of a other in html?