PDA

View Full Version : Drop down menu adds height to body?



Trina
09-11-2010, 03:40 AM
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! :o

azoomer
09-11-2010, 10:56 AM
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.

Trina
09-11-2010, 05:32 PM
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!

azoomer
09-11-2010, 06:20 PM
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.

.anylinkshadow {
display: none;
}

Another way you can fix it is to find the part in your anylinkmenu.css where it says

.anylinkshadow1{
position: absolute;
left: 0;
top: 0;
z-index: 99;
background: #8c8365;
visibility: hidden;
}
and then remove the 1 (red), like this:

.anylinkshadow{
position: absolute;
left: 0;
top: 0;
z-index: 99;
background: #8c8365;
visibility: hidden;
}

Trina
09-11-2010, 06:48 PM
Yes! That was the problem. Thank you! Thank you!