How do I get the footer to stay at the bottom of the page
Hi,
I feel really silly but I am stuck on a problem with the page footer. I am trying to get it to remain at the bottom of the view port (but not be sticky) when there is not enough content to fill up the entire view port.
Here is an example of what happens when there is plenty of content on the page:

As you can see the footer is pushed to the bottom of the page properly. It doesn't matter if there is too much content for the view port - the footer is pushed down to the bottom and correctly scrolls with as the content is scrolled up. However; when there is not enough content to either fill up or extend beyond the view port, this happens:

As you can see the footer is not displaying correctly anymore - it has been pulled up to the bottom of the content instead of remaining at the bottom of the view port. I have made various attempts to fix this myself using CSS but I have not been able. I realise that this is a very simple problem but I just cant see what I have done wrong.
Will somebody please take a look at my code and tell me how to fix this problem?
My code is hosted in a public repo on GitHub - here is the code for index.html SocialFoxes/index.html at footer_issue · jaytelford/SocialFoxes · GitHub and here is the link to the CSS file SocialFoxes/defaults.css at footer_issue · jaytelford/SocialFoxes · GitHub
Also here is the link to the footer_issue branch on GitHub if you wanted to clone it so that you can test what I have done GitHub - jaytelford/SocialFoxes at footer_issue
Thanks in advance to you for all your help because this is driving me nuts
Jay
NB:
The defaults.css file is as it says - the default. It is only there to define the very basic page layout. Once I have the basic page layout working correctly, I will create main.css and use media queries to layout the page per viewport size and orientation but I want the default.css file to define the basic underlying structure first.
