I'm writing this down because I'm sure I will forgot it.
There was a div the wrapped around all the content on a page it was centred and was meant to be the background for the page. But it wasn't expanding to fix the content it was always to short. The solution ended up being adding a footer div that has set to clear both.