Jump to content

Recommended Posts

Odd. When I download all your content locally (htm, css, js & images) there is no gap. But, I do see the gap on your hosted site. I was able to simulate the gap by inserting a margin into the css code for the UL. So, it may have a default of 1px margin. Try adding an explicit 0px margin

 

 

#nav li ul /* Default location */
{
  position: absolute;
  width: 101px;
  left: -300px;
  border-width: 1px;
  border-left: 0px solid;
  border-right: 0px solid;
  padding-left: 0px;
  margin: 0px; <<== ADD THIS LINE
}

Hi I have added the line you suggested but it made no difference. I also have got the line * {margin:0; padding:0} at the top of the CSS file.

 

I have tested this out on

IE 11

Firefox 32

Opera 25

Chrome 38 AND

Safari 5.1

 

 

They all have a gap between the top menu Brahms | Mozart and the sub menus below.

 

As I said, when I copied all your files down locally it doesn't happen. I only see the problem when viewing your page at the URL provided. Doesn't make any sense. Maybe I missed something, but I don't think so.

 

I dig into the JavaScript code, but it could possibly be referencing something that is causing it. You could also try using a margin of -1 in the above (it should just need to be margin-top or margin-bottom). But, I would consider that as a kludge solution.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.