Solved

Why is this gap appearing?

Posted on 2012-03-16
3
239 Views
Last Modified: 2012-08-14
Head out to countryshowdown.com and pass your mouse over the links in the navbar. They work! Thing is, on my box, you see this nasty gap (see screenshot) that happens between the navbar and the links.

I'm thinking there's some ninja out there who can look at the discrepancy and go, "That's easy! All you've got to do is..."

Thoughts
Screen-shot-2012-03-16-at-3.52.3.png
0
Comment
Question by:brucegust
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 166 total points
ID: 37791067
I checked in IE 7, 8 & 9 and I couldn't reproduce the issue. I also checked Chrome and FF and everything looks good. What version of IE are you using?
0
 
LVL 18

Assisted Solution

by:mgfranz
mgfranz earned 167 total points
ID: 37791082
First of all, you need to classify which browser this error appears in, the only browser I can see a problem with is IE8 or <.  

Second, you need to clarify exactly where the problem is occurring, I had to snoop around in order to find where the problem was.  I found it by clicking on one of the "Top 10 Most Viewed Profiles" icons.

As for a solution, it may be a simple matter of adding a z-index property to your #nav li class.

z-index:3;
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 167 total points
ID: 37791106
The prime suspect is the top:26px you have under #nav ul. The gap you show in the image appears to be about 26px thick. Also, in FF 11, Chrome 17, and Safari 5.1, if you remove the top:26px, nothing changes, the sub menus still appear in the correct place. If you take out top:26px in IE8, the sub munues move up 26px. You may just need an alternate css for IE for #nav ul
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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…

728 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