SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Feb 2006
    Posts
    980
    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,596
    Mentioned
    6 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)?
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Likewise, no jump for me in FF.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 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
    980
    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
  •