PDA

View Full Version : Dropdown Menu behind Content DIV


Daryl
09-21-2009, 07:15 AM
I have created a CSS Dropdown Menu

Works fine in FF

However when testing with the dreaded IE the dropdown dissapears behind the content area.

I have tried changing the zindex of the content area to 0 and the menu to 1000 but its still not working.

url for you - http://test.random-sheep.com/projects/domestic.php

Daryl
09-21-2009, 07:17 AM
I think it was because the content area was set to relative....

evan378910
09-21-2009, 07:44 AM
Daryl,

I am having a similar issue. What CSS tags did you specifically change so the dropdown would appear above the content div tag?

thanks!

Daryl
09-21-2009, 08:05 AM
Evan

To solve my problem I changed the DIV that was covering the dropdowns (in my case content).

It was set to relative, I just deleted this instead (I think)

evan378910
09-21-2009, 08:22 AM
Please excuse my css ignorance, but where do you change to relative using CSS in Dreamweaver (i.e. using css rule definition which property and category (block, box, border, etc...)

thanks!

Daryl
09-21-2009, 08:31 AM
I am using a Site Assist Pro Template, so the easy way to do it (if you have only a basic CSS knowledge) is to open the template. Click on the border of the content DIV. Click the little pencil Icon on the CSS window on the right, a new window opens, goto positioning, at the top there is an option for Type, I just deleted it.

If you have edited the content.css file before you can just open that file and then look for

#outerWrapper #contentWrapper #content {

There should be an option called position, just delete it.

Thats what solved it for me, I have no idea if it will work for you. Just remember to back everything up or get ready with pressing undo if it all goes wrong;)

evan378910
09-24-2009, 10:06 AM
thanks again, that helped out my situation as well!

Evan

Daryl
09-24-2009, 11:46 AM
Evan

I'm glad that I have managed to help somebody as I am learning too and seem to spend most of my time on here asking for help!

Thanks for the feedback. :)