HI
I have 2 <DIV> in my page
1-Div1
2-Div2
I want Div1 Be Over Div2 ,Like below
How I can do it ?
Best regards
Neda
You can set the position:relative and then set its top to move the first DIV over other one
<div id="div1" style="background-color: #F79647; border: 2px solid #B16C31; height: 80px; width: 200px; position: relative; top: 10px"> DIV1 </div> <div id="div2" style="background-color: #FFFF2A; border: 2px solid #CDCD16; height: 80px; width: 180px;margin-left:10px"> DIV2 </div>
Demo
Refer
http://jsfiddle.net/MgcDU/4174/
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.