SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Footer jumping to top

  1. #1
    SitePoint Guru
    Join Date
    Feb 2006
    Posts
    962
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Footer jumping to top

    Upon opening this page, the footer jumps to the top. What's the best way to prevent this from happening and make sure the footer stays put? Seems like adding some kind of height?

    http://216.172.181.104/~timothyc/pai...ome/index.html

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Not jumping to the top of the page for me in Chrome . Sticking to the bottom of the page for me. What browser (and version) and OS are you using?

    Does the footer load at the bottom, but jump to the top after load (or during)?
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #3
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    20,297
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Likewise, no jump for me in FF.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Try your hand at the new JavaScript Challenge!

    If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    SitePoint Award Recipient Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    37,872
    Mentioned
    103 Post(s)
    Tagged
    3 Thread(s)
    Hi,

    I can see the footer jumping to the top on first page load while the flash loads and then it moves down. Try giving a height the the object container to match the height of the object.

    Code:
    #flash-edge{height:538px}

  5. #5
    SitePoint Guru
    Join Date
    Feb 2006
    Posts
    962
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You got it Paul! Now fixed. Thank you!

    I think it was just happening in Safari or Opera on my Windows 7 machine but think other browsers with a Mac.

    Thank you all :-)!

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
  •