How to overlay one div over another div
Posted
by tonsils
on Stack Overflow
See other posts from Stack Overflow
or by tonsils
Published on 2010-05-31T03:15:23Z
Indexed on
2010/05/31
3:22 UTC
Read the original article
Hit count: 336
Hi,
Hoping someone can assist but I need assistance with overlaying one individual div over another individual div, i.e. my code looks like this:
<div class="navi"></div>
<div id="infoi"><img src="info_icon2.png" height="20" width="32"/></div>
Unfortunately I cannot nest the infoi div or img inside the first div (class navi) - it has to be two separate divs as shown but I need to know how I could place the img div over the first div (navi) and to the right most side and centered on top of the navi div.
Would appreciate any help is achieving this (hopefully it's possible)
Thanks.
© Stack Overflow or respective owner