I\'m trying to make a website where header and footer have fixed position while content scrolls in the middle.
The easiest fix for this is to add padding equivalent to the height of your static header and footer:
#content { width: 80%; margin: 0 auto; padding: 60px 0; }
JSfiddle