I'm encountering an issue with this specific code snippet:
<li class="nav-item dropdown" id="noti_Container" >
<div id="noti_Counter" style="opacity: 1; top: -2px;"></div>
<a style=" margin-right: 20px; color: white;" >
<i class="fa fa-bell-o fa-lg" id="noti_Button" aria-hidden="true" ></i></a>
<div id="notifications" style="display: none;">
<h3>Notifications</h3>
<div id="not1"> </div>
<div class="seeAll"><a href="#">See All</a></div>
</div>
</li>
The notification functionality is generated through JavaScript and added to the div with the ID "not1." However, I am facing an issue where this div appears transparent and elements from the background are showing through. I have tried adjusting the opacity and transparency in the CSS but have not been successful. How can I make this div display like a normal solid element? It seems that the table elements in the background are interfering with the visibility of the notifications. Could it be that both the notifications and the background contain table elements, causing this conflict?