There are several tutorials on how to make things “sticky” using CSS. We will make a “sometimes sticky” element using CSS and jQuery. Here is an article on CSS sticky footers to help you understand before we move onto the “sometimes” part using jQuery. Continue reading
There are several tutorials on how to make CSS sticky footers, sticky headers, and sticky sidebars. This is one. There is a working demo to check out.
Remember to compensate at the bottom of your page. If your sticky footer is 75px high, add 80px padding or margin so that the sticky footer doesn’t cover the content at the bottom of your page. The 2 main CSS elements for the sticky footer are
position: fixed; and
The important thing to understand about
position: fixed; in a sticky footer is that it’s in a fixed position relative to the element or “container” it’s in. Continue reading
This HTML snippet will make RSS icon display in browsers.
This tutorial will show how to use jQuery append. It will also show how to append after and append before. Append actually means to add after. But this will show you how to use jQuery to insert content with these four functions. Continue reading
CSS Center - This short tutorial and snippet will show how to center with CSS. Continue reading
Doctype declaration HTML 5, HTML 4.01 Strict, XHTML 1.1, XHTML 1.0 Transitional, XHTML 1.0 Strict and more. Continue reading
*using navigator.userAgent can make you vulnerable to spoofing. Here is a lengthy article.