PDA

View Full Version : Div scroll & stop



nickstefani
Mar 4th, 2012, 04:37 AM
Hey Folks!
My web guy is having problems figuring this one out. I have a footer that is attached to the bottom of my content and thus scrolls with the content. I am trying to get the footer to stop when it hits the "top" div containing my main links. Right now, if the window isn't tall enough, the footer will disappear behind the top div. I'm trying to get them to "hit" each other and stop.

http://www.nickstefani.com

The homepage isn't scrollable, so thats not the issue. The pages it happens on are the work page, clients and blog page.

Thanks!
Nick

dan-dan
Mar 4th, 2012, 12:43 PM
Change the height here #bottom { float: right; width: 600px; height: 450px; margin: -3px 0 0 0; } to auto.

This should also be corrected to a closing tag <div class="clear"><div>. It is just above the closing tags for bottom and wrap.