/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
html, body {height: 100%;} #wrapper1 {min-height: 100%;} #wrapper2 { overflow:auto; padding-bottom: 16.5em; /* must be same height as the footer */ } #footer { margin: -16.5em 0 0 0; /* negative value of footer height */ height: 16.5em; }
Comments
