working out the grid, created footer and default margin