Lionel
Lionel

Reputation: 35

Drop down menu appearing behind images

I can't for the life of me figure out why the drop down when hovering over the "about" menu item is appearing behind the images, see this link http://www.ziprfit.com.au/index.php (I hope it's OK to post the link).

All search results suggest z-index, well the z-index for the images in there goes to 6, and I've set the menu to 100 and it still appears behind the images.

On the server side this is generated by PHP.

Thanks for your help.

Upvotes: 1

Views: 176

Answers (2)

Lashus
Lashus

Reputation: 399

Add position: relative; and z-index: 100; to your #nav div :)

Upvotes: 2

Khizer Najeeb
Khizer Najeeb

Reputation: 507

Add position: relative; in your #nav ul ul

#nav ul ul {
z-index: 100;
display: none;
position: relative;
}

Upvotes: 4

Related Questions