Hey all. One thing many new coders struggle with, and what I'm struggling with right now, is a sticky footer.
By this, I mean where the footer will stick to the bottom of the page, no matter the size of the content or if you scroll down - the footer will ALWAYS be there.
Below I've given an example.
= is the sticky footer.
the l 's make up the page that can be seen.
the x 's represent the content on the page which can only be seen by scrolling down.
llllllllllllllllllllllllllllll
l..................... l
l..................... l
l..................... l
l..................... l
==========
x..................... x
x..................... x
x ..................... x
xxxxxxxxxxxxxxx
As you can see, the footer is at the bottom of the VISIBLE page, not at the bottom of the whole page.
It STICKS to the bottom of the VISIBLE page.
By this, I mean where the footer will stick to the bottom of the page, no matter the size of the content or if you scroll down - the footer will ALWAYS be there.
Below I've given an example.
= is the sticky footer.
the l 's make up the page that can be seen.
the x 's represent the content on the page which can only be seen by scrolling down.
llllllllllllllllllllllllllllll
l..................... l
l..................... l
l..................... l
l..................... l
==========
x..................... x
x..................... x
x ..................... x
xxxxxxxxxxxxxxx
As you can see, the footer is at the bottom of the VISIBLE page, not at the bottom of the whole page.
It STICKS to the bottom of the VISIBLE page.