homepage Welcome to WebmasterWorld Guest from 54.145.183.190
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Non-sticky footer affecting wrapper positioning
Megalith

5+ Year Member



 
Msg#: 4421784 posted 10:27 pm on Feb 25, 2012 (gmt 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?

 

Megalith

5+ Year Member



 
Msg#: 4421784 posted 11:36 pm on Feb 25, 2012 (gmt 0)

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

Don't I feel stupid.

alt131

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4421784 posted 7:38 am on Feb 27, 2012 (gmt 0)

Hi megalith, thanks for posting the solution

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved