Solved

allow drop down menu to overflow a DIV container that has "overflow:hidden;" set

Posted on 2013-10-25
4
2,760 Views
Last Modified: 2013-10-28
I'm currently using this in my navigation menu, and have everything working save for one little issue. if you take a look here:

http://www.exchangetree.org/includes/header.asp

there are 2 menus. The top one works the way I want it to, the bottom one, when you hover over the 2nd item, it disappears and creates scroll bars. I know this is occurring because on the DIV that contains the bottom menu, i have overflow:hidden set on it (you can check out this question for why that is set like that).

I'm at a loss here, any help is greatly appreciated!

Cheers
Josh
0
Comment
Question by:Big Monty
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39601794
I guess you have to decide what you want to do.  Change the size so there is no overflow, or get rid of the overflow:hidden.

I don't know why you are trying to make a simple thing like a dropdown menu complex by using jquery instead using just CSS for menus

Cd&
0
 
LVL 32

Author Comment

by:Big Monty
ID: 39605948
mainly because I' not a CSS expert, im a development guy, and I don't want to spend more time than necessary fiddling with css to make it cross browser. Also, I'm more comfortable with jquery, use it in a majority of my pages for other things, and most of the time its pretty stable for cross browser efficiency...

the site I'm building is in the proof of concept phase, if it works, the n I'll most likely come back and make things a bit more efficient. But right now, I just want to get it up and running...
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39606091
Set the width of the right hand LI in the parent UL of the bottom menu to 20% and set the background to the gray color.

Remove overflow:auto from .botmenu-container {}
0
 
LVL 32

Author Comment

by:Big Monty
ID: 39606112
thanks man! appreciate all your help on this...i'll stop bugging you now on this menu stuff :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error on Add method 1 38
Form Processing in PHP 11 32
Problem with a CSS in a page 2 27
is this a cms? 8 35
This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

867 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

24 Experts available now in Live!

Get 1:1 Help Now