Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Non-sticky footer affecting wrapper positioning



10:27 pm on Feb 25, 2012 (gmt 0)

5+ Year Member

This is pretty strange.

I have a footer on my page that isn't contained within a wrapper. Everything is fine as long as there is enough content within the wrapper to push the footer to the bottom of the page, but if there isn't, the positioning of elements within the wrapper changes.

It just seems to be a minor shift of a couple of pixels, but why would this happen? Is there a way to get a footer to stick to the bottom of the page even when it is outside of a wrapper?


11:36 pm on Feb 25, 2012 (gmt 0)

5+ Year Member

Turns out the shift I was experiencing was from the scroll bar.

Don't I feel stupid.


7:38 am on Feb 27, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

Hi megalith, thanks for posting the solution

Here's hoping all your code challenges are that easy to solve ;)

Featured Threads

Hot Threads This Week

Hot Threads This Month