footerStickAlt - positioning a footer with CSS

Cameron Adams has come up with footerStickAlt, a slight modification of the footerStick method for positioning a footer with CSS.

I'm still seeing a couple of glitches: it doesn't work in OmniWeb (though that will probably take care of itself when OmniWeb is updated to use a more recent rendering engine), it doesn't work very well in IE/Mac (not a serious problem as that browser is very close to falling off my CSS support chart), and I get a vertical scrollbar in Gecko browsers even when the content is shorter than my window is tall.

The last issue is definitely the most important one, so I took a quick look at it and found that specifying a height for the footer instead of relying on the browser to calculate it will fix the problem. I'm guessing that like so many other odd issues with the Gecko rendering engine this is caused by a rounding error.

Anyway, it seems like the fix was pretty easy.

Posted on September 3, 2005 in CSS, Quicklinks