Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 10-31-2010, 12:48 PM Sticky Footer
evans123's Avatar
Ultra Talker

Posts: 468
Trades: 0
On my website ive managed to get the footer to stick to the bottom however, there seems to be a small space between the bottom of the footer and the browser, i believe it has something to do with the clearfix classes as if i add them to some <div>'s this space gets bigger.

Click here for website.

Main CSS attributes:

Code:
#container { min-height:100%; height: auto !important; height: 100%; margin-bottom: -150px; }
#footer { clear: both; position: relative; height: 150px; background: url(/../../images/bg-footer.gif); }
Example HTML configuration:

HTML Code:
<html>
<body>
<div id="container">
Other divs in here too.
</div>
<div id="footer">
Other divs in here too.
</div>
</body>
</html>
evans123 is offline
Reply With Quote
View Public Profile Visit evans123's homepage!
 
 
Register now for full access!
Old 10-31-2010, 01:04 PM Re: Sticky Footer
evans123's Avatar
Ultra Talker

Posts: 468
Trades: 0
The current code doesn't produce that small gap in IE however it does in Firefox.

Last edited by evans123; 10-31-2010 at 01:23 PM..
evans123 is offline
Reply With Quote
View Public Profile Visit evans123's homepage!
 
Reply     « Reply to Sticky Footer
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19205 seconds with 12 queries