Welcome to WebmasterWorld Guest from 174.129.163.89

Forum Moderators: not2easy

Message Too Old, No Replies

Non-sticky footer affecting wrapper positioning

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

New User

5+ Year Member

joined:Mar 22, 2007
posts: 14
votes: 0


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)

New User

5+ Year Member

joined:Mar 22, 2007
posts: 14
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Aug 9, 2008
posts: 961
votes: 0


Hi megalith, thanks for posting the solution

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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members