Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Div scroll & stop

    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

  • #2
    Regular Coder dan-dan's Avatar
    Join Date
    Aug 2009
    Location
    England
    Posts
    483
    Thanks
    22
    Thanked 79 Times in 78 Posts
    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.
    Last edited by dan-dan; 03-04-2012 at 01:00 PM.


  •  

    Posting Permissions

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