Gap at the end of pages

Hi! I have a a gap problem on my pages after the footer. It belongs to page itself. .In preview mode eveything its fine.But when i select to see the published site this gap appears.How can i solve it? Thanks!