While developing the interface, I encountered z-index complications with the menu and submenu. The main menu should be positioned above, while the submenus should be below. Unfortunately, in the 'Electronics' section, the submenu items are overlapping. I need to find a solution to prevent this overlap without removing the menu entirely. Any suggestions for maintaining the menu's appearance would be greatly appreciated.
<body>
<!-- Navigation Menu HTML -->
</body>
To see how the menu should appear when hovered over, refer to thisscreenshot