I think you want to use an absolute value for this. Isn't the footer static in height regardless of window size? This means you need to make two changes - one here for the margin, and one for the actual size of the footer height.