Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Snippets

    CSS Sticky Footer

    Download button

    Downloads: 744  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Steve Hatcher | More scripts
    www.cssstickyfooter.com
    Other Free / Open Source License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    CSS
    February 9th, 2011, 10:49 GMT
    C: \ Snippets

     Read user reviews (0)  Refer to a friend  Subscribe

    CSS Sticky Footer description

    This is a CSS hack to create website footers that stick to the browser's bottom margin based on the size of the page's content

    Unlike fixed footers which show on top of long content, this script is different.

    If the page has a long content, the footer is pushed at the bootom of the page and doesn't overlay on top of the page.

    If the page content is smaller than the height of the browsers, then the footer shown attached to the bottom margin of the browser, the rest of the page being filled with whitespace.

    The HTML structure should be like:

    <div id="wrap">

        <div id="main">

        </div>

    </div>

    <div id="footer">

    </div>



    TAGS:

    browser height | website footers | show footer | footer | stick | position

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM