Solved

Div blocking content (CSS)

Posted on 2011-09-13
3
385 Views
Last Modified: 2012-06-21
Please visit www.mwebdev.com/hw.html. This site is a CMS site. The dropdown menu is contained in a DIV (240px height). The problem is that, depending on the browser being used, the DIV is blocking the content behind it.

On the page I liked to above:
In Firefox (6.0), you'll notice that you cannot click on the first 3 links because the dropdown menu DIV is blocking it.
In Internet Explorer (9.0), you can click on the links with no problem. The DIV does not block the content.

The funny thing is that on the site's home page, content at the top is not blocked by the DIV. For instance, regardless of the browser, you can click in the Search field in the upper right.

I've been wrestling with this problem for a while. I need some help... Thanks in advance!
0
Comment
Question by:isaacr25
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
PagodNaUtak earned 500 total points
Comment Utility
Put display: inline in the .content class as shown below.

#block-superfish-1 .content {
    height: 240px;
    overflow: visible;
    padding: 0 0 0 13px;
    z-index: 100;
    display:inline;
}
0
 

Author Comment

by:isaacr25
Comment Utility
Wow! This seems to have done the trick. So simple! Thanks!
0
 

Author Comment

by:isaacr25
Comment Utility
PagodNaUtak,
I spoke too soon. I didn't realize it last night, but when I put in display:inline, the dropdown menus don't show anymore. When you place your mouse over the menu items, the dropdown menus don't expand. Please help. Thanks.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now