homepage Welcome to WebmasterWorld Guest from 174.129.163.183
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: DrDoc

CSS Forum

    
Non-sticky footer affecting wrapper positioning
Megalith




msg:4421786
 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




msg:4421800
 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




msg:4422168
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved