Grow your CSS skills. Land your dream job.

jsScript/jQuery Make footer go down the page if required

  • # April 15, 2012 at 5:57 pm

    Hi everyone,

    I was wondering if it is possible to do something like this, or something similar…

    What i am trying to achieve is to have a footer placed in one position by default and perhaps using javascript or jquery I want to make it move down if the page’s main content goes below the original location of the footer.

    I am not very good at explaining so here’s an image.

    http://desmond.imageshack.us/Himg35/scaled.php?server=35&filename=exampleal3ks.png&res=landing

    Would be really grateful for any help.
    Thanks

    # April 16, 2012 at 4:24 am

    Here is a quick example…I just animated the content area to get larger via jquery but it will work regardless of how you expand the content…

    http://jsfiddle.net/8j6Y6/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".