title: How to make this menu move with the page while being absolute
body: <p>The navbar that I am making is supposed to be touching the edges of the screen and so here is what I have so far.
  css:</p>
  
  <pre><code>nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height:65px;
    display: block;
    background-color: #1abc9c;
  }
  </code></pre>
  
  <p>However I would like it to be able to stay with the page as you scroll down, unfortunately I can't figure out how to do it without changing the position from absolute; this doesnt work because it makes the menu bar not touch the edges of the screen. </p>