Results 1 to 5 of 5

Thread: Drop down menu adds height to body?

  1. #1
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Drop down menu adds height to body?

    I am new to scripting so I apologize if this is common knowledge, but I used scripting for a drop down menu and each time I link a menu to an anchor link the body of my page gets longer. I have just empty blank space at the bottom of the page. Does anyone know what is causing this? It is a small space with the first link, and then doubles with the second, triples with the third, etc. Thanks for any help you can give me!

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi,
    I am sure many people on this forum would like to help you. It's just that we have nothing to go on. You should post a link to the script you use and a link to the page you are working on. You could also upload the files so that we can look at them, but links makes it much easier to help.

  3. The Following User Says Thank You to azoomer For This Useful Post:

    Trina (09-11-2010)

  4. #3
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks azoomer for your response.

    I am still in the design phase so the codes need to be cleaned up a bit and the content/links are not functional or finished but here is the link:

    http://www.twincities-wedding.com/new.htm

    It is the empty space at the bottom I am trying to eliminate.

    All of the codes are linked through the css sheet
    (http://www.twincities-wedding.com/stylesheet1.css)

    Thanks again!

  5. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    It seems to be the anylink shadow somehow creating the gap. If you don't need the shadow you can get rid of the gap with a css rule like this.
    Code:
    .anylinkshadow {
    display: none;
    }
    Another way you can fix it is to find the part in your anylinkmenu.css where it says
    Code:
    .anylinkshadow1{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    background: #8c8365;
    visibility: hidden;
    }
    and then remove the 1 (red), like this:
    Code:
    .anylinkshadow{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    background: #8c8365;
    visibility: hidden;
    }
    Last edited by azoomer; 09-11-2010 at 06:35 PM.

  6. The Following User Says Thank You to azoomer For This Useful Post:

    Trina (09-11-2010)

  7. #5
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Yes! That was the problem. Thank you! Thank you!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •