Kelly Kruschel
Kelly Kruschel

Reputation: 65

Having trouble with z-index and position absolute divs

I have tried to add position:relative and z-index:1000 to my ul navigation elements but it continues to display behind the logo and content which is set to position relative.

I found a small script which positions all the ul elements to 1000 and that did not work either.

Example: http://islands.kellykruschel.com/directory/accommodations/

Hover over Things to Do >> Outdoor Sports

Any solutions would be very helpful!

Upvotes: 0

Views: 68

Answers (2)

Rohit Azad Malik
Rohit Azad Malik

Reputation: 32182

Add #topbar z-index;

#topbar{
z-index:999;
}

Upvotes: 1

Andrew
Andrew

Reputation: 1880

on #topbar add this:

#topbar{
z-index: 1000;
}

This should make it sit on top of the logo. It works in chrome.

Upvotes: 1

Related Questions