center header and footer, attempting to get template to work with no success