I also tried a few modifications of the given samples to no avail. It would, for example stick to the bottom of the page where the content does not take up the entire height, but on a long page, it would then be covered by the content. I gave up. I learned a lot about CSS the past few weeks, but I can't wrap my head around this one1.
JoomDev is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. The Joomla! logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.