Posted By

Abiotic on 12/26/12


css footer

Versions (?)

CSS Footer

 / Published in: CSS


This demonstrates one approach to the problem of placing a footer in a position described by Tuttle Grey as follows:

  • render an element at the bottom of the canvas, except...
  • when the page content is shorter than the viewport, render that element at the bottom of the viewport.

See posting to css-discuss

This page should be small enough to demonstrate the second point. For a demo of the first point using the same style, see FooterDemo2. The stylesheet can be found at FooterDemo.css. This has been tested and works in IE5.5+/Win, Moz0.9.9, and Moz1.0. It does not work in Opera 6. Any suggestions for that would be appreciated.

Report this snippet  

You need to login to post a comment.