Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disappearing borders dropdown menus in IE6

Status
Not open for further replies.

Pennywaffer

Technical User
Feb 21, 2002
6
NL
I have a sample here that displays a bug in IE6 which I can't seem to fix:


What happens is:

When you open one of the two dropdown menus in IE6, the bottom border will be partially invisible. It only happens the first time the menu is opened. Also, when IE loses focus to a different app and then gets focus again (while the dropdown is still open with partially gone borders), the borders will be normal again.

Does anybody know why this happens, and most of all, how it can be fixed?

The dropdown menus are revealed and positioned through JS in the file the relevant function being revealMenu()

The css can be found here: The style for the dropdownmenu is ul#nav3 li ul.displaynav

The problem does not occur in IE7, Firefox or Opera

If someone recognizes this and or knows how to fix it, I would be very grateful.

Thanks!
 
I think that other than playing with position: relative;, height: 1%; or stripping the styles to identify exactly what is wrong with the IE6 misbehaving, there isn't much you can do.
 
I fixed it by adding position: relative to ul#nav3 and ul#nav3 li ul li

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top