fixed errors in header and footer,

and reversed some of the stuff on <p> tags that i had changed.