|
|
|
This is the perfect 'cross-browser' sticky footer. It just requires a bit of css and a few 'divs'. |
|
|
|
|
|
|
|
|
|
|
If you use it on an ASP.NET site like this one, you will need add the ever-present
'form' to the sticky footer style. |
|
|
|
|
|
|
|
|
|
|
|
The line: |
|
|
|
|
|
html,
body { |
|
|
|
|
|
|
|
|
|
|
|
Must be changed to: |
|
|
|
|
|
html,
form, body { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To see the footer mechanism in action just look at the bottom of any page on this
site. |
|
|
|
|
|
For more details visit Ryan Fait's web site here:
ryanfait.com/sticky-footer |
|