title: Footer won't stay at the bottom of the page
body: <p>I have some troubles keeping my footer at the bottom of my page, I have looked up quite some thing on various websites but I couldn't find any solution for it cause it would just be stuck on the same place and that's the bottom of my screen and not the page.</p>
  
  <p>What I'm trying to achieve here is that if the page has more content on it than your screen is big then the footer would go down to the bottom of the page but if the page has not enough content on it it would just appear on the bottom of the screen.</p>
  
  <p>Here's my HTML:</p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="header"&gt;
      &lt;div class="clear"&gt;&lt;/div&gt;
          &lt;div id="fotowlogo"&gt;&lt;a href="Home.html"&gt;&lt;img src="Fotos/Logo.png"&gt;&lt;/a&gt;&lt;/div&gt;
  
          &lt;ul id="headtext"&gt;
              &lt;li class="text"&gt;&lt;a href="Home.html"&gt;HOME&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="#"&gt;NEWS&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="ProjectInfo.html"&gt;PROJECT INFO&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="#"&gt;TOOLKIT&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="#"&gt;PARTNERS&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="#"&gt;GALLERY&lt;/a&gt;&lt;/li&gt;
              &lt;li class="text"&gt;&lt;a href="#"&gt;CONTACT&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
  &lt;/div&gt;
      &lt;div class="clear"&gt;&lt;/div&gt;
      &lt;div id="container"&gt;
  &lt;div class="line-separator"&gt;&lt;/div&gt;
  &lt;div class="clear"&gt;&lt;/div&gt;
  &lt;div id="erasmus" style="width=50%;"&gt;&lt;img src="Fotos/Erasmus.png"&gt;&lt;/div&gt;
  &lt;p class="Erasmous"&gt;This project has been funded with support from the European Commission. This publication reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.&lt;/p&gt;
  &lt;div class="clear"&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;div id="footer"&gt;&lt;p class="ptext"&gt;Copyright © 2017 DIDO&lt;/p&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>and here's my CSS:</p>
  
  <pre><code>.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
  }
  
  #container{
  background-color:#F1F1F1;
  margin: auto;
  height: auto;
  }
  
  #header{
      background-color:#FFFFFF;
      height: 115px;
      width: 100%;
  }
  
  #fotowlogo{
      width: 14.5em;
      margin: 15px auto;
      float: left;
      padding: 0px 0px 0px 450px;
  }
  
  #footer{
      background-color:#FFFFFF;
      height: 60px;
      margin: 0px;
      position: absolute;
      overflow: hidden;
      bottom: 0;
      left: 0;
      right: 0;
      box-shadow: 0px 10px 5px 8px black;
  }
  .line-separator{
      height:1px;
      background:#BBBBBB;
      width: 1800px;
      margin: 20px 0px 20px 60px;
  }
  
  #erasmus{
  /*  background-image: url(../Fotos/Erasmus.png);*/
      width: 565px;
      height: 161px;
      margin: 10px 0px 10px 425px;
  }
  
  .Erasmous{
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
      font-size: 14px;
      line-height: 24px;
      float:right;
      position: relative;
      width: 564px;
      margin: -140px 350px 0px 0px;
  }
  
  #headtext{
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
      font-size: 15px;
      margin: 0px;
      padding: 0px;
      width: 100%;
  }
  
  #headtext li{
      list-style-type: none;
      text-align: center;
      float: left;
      margin: 50px 0px 0px 40px;
  }
  
  .text a:link{
      text-decoration: none;
      color: black;
  }
  
  .text a:visited{
      color: darkgrey;
  }
  
  .text a:hover{
      color: darkgrey;
  }
  
  .ptext{
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
      font-size: 10px;
      color: black;
      margin: 22px 0px 22px 450px;
      padding: 22px 0px 0px 0px;
  }
  </code></pre>
  
  <p>Excuse me for the long codes but I didn't know what I would put in here, I'm a student and I'm currently still in-learning.</p>
  
  <p>As I had to edit this since it was a 'duplicate' I have tried everything from the page it was 'duplicated' from but it still won't work the way I want it to like I have explained at the top.</p>