I am struggling with a div containing code
.popupClass {
width: 632px;
height: 210px;
position: absolute;
bottom:0;
margin-bottom: 60px;
}
<div class="popupClass">
<div style="margin-left: 90px; width: 184px; height: 210px; position:relative; z-index:1" id="mainMenuDiv" hidden>
<img style="z-index:2;" id="menu" src="images/popup.png" width="184" height= "210" alt="menu_btn"/>
<a href="categories.php" style="bottom:-80px;" >Categories</a>
<ul>
<li><a href="categories.php" >Categories</a></li>
<li><a href="about.php" >About Us</a></li>
</ul>
</div>
<div style="margin-left: 190px; width: 184px;" id="shareDiv" hidden>
<img id="menu" style="margin-left: 90px" class="clicker" src="images/popup.png" width="184" height= "210" alt="menu_btn"/>
</div>
<div id="dDiv" hidden>
<img id="menu" style="margin-left: 90px" class="clicker" src="images/popup.png" width="184" height= "210" alt="menu_btn"/>
</div>
</div>
I am facing an issue where I need the ul element to appear on top of the image, without being added to the background of the div which could lead to cropping due to the div settings. How can I accomplish this?