SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2010
    Posts
    345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scroll bar present, but no content...

    I recently applied this sticky footer technique: http://ryanfait.com/sticky-footer/

    and now my website has a scroll bar even though i have no content, you can scroll like a millimeter, it's weird.

    here's the test site http://designingyours.com/cater/

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,623
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Change this

    Code:
    #wrapper {
       min-height: 100%;
       height: auto;
       height: 100%;
       margin: 0 auto -58px;
    }
    to this

    Code:
    #wrapper {
       min-height: 100%;
       height: auto;
       height: 100%;
       margin: 0 auto -60px;
    }
    You need to account for the 2px top border on the footer, as that adds to the height.

  3. #3
    SitePoint Addict
    Join Date
    Aug 2010
    Posts
    345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahhh, good looking! One day Ill get the eyes to catch this kind of stuff


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
  •