Solved

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

Posted on 2013-10-25
4
2,680 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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 the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

762 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

20 Experts available now in Live!

Get 1:1 Help Now