Revision: 2831
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 24, 2007 05:58 by masaya
Initial Code
/* html */
<div class="wrapper">
<div class="push"></div>
</div>
<div class="footer"></div>
/* CSS */
* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
height: 4em; /* .push must be the same height as .footer */
}
Initial URL
http://ryanfait.com/sticky-footer/
Initial Description
A CSS sticky footer http://ryanfait.com/sticky-footer/ Copyright (c) 2006-2007 Ryan Fait
Initial Title
内容é‡ã«é–¢ã‚らãšã€å¸¸ã«ãƒ•ッターをページ下部ã«é…ç½®ã™ã‚‹æ–¹æ³•
Initial Tags
css
Initial Language
CSS