How to overlay one div over another div
- by tonsils
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.