js ile sayfanın boyunu orta dive min-height olarak atayın, sonrada header ve footer boyutunu toplayıp min-height ten çıkartın.