Hi team,
After updating chrome latest version [111.x.x] we are faceing one issue in nav bar , on hover on particulat link we are showing sub menu . due to browser updates subment is displaying behind other html elements.
to resolve this issue I tried with z-index property but no luck . same website working as expected in edge browser.
team let me know if any sollution for this
Thanks
madan S B


Madan ShekarRank #428 · 5.9K reputationPosted Mar 12, 2023, 11:20 AM EDT
@Naimish Makwana I'm using the same code. as mentioned it is working as expected in edge browser but issue we are seeing in chrome only.
Naimish MakwanaRank #324 · 7.7K reputationPosted Mar 11, 2023, 1:34 AM EST
Hello Madan,
If your HTML code looks something like this:
You can add the following CSS code to style the sub-menu and check
nav ul li { position: relative; } nav ul li ul { position: absolute; top: 100%; left: 0; z-index: 999; }Thanks
Naimish Makwana