/    Sign up×
Community /Pin to ProfileBookmark

ie6 footer at bottom problem

I need my footer to stay at the bottom all of the time. Right now, the footer is always at the bottom when the page loads, but if the user expands the page (like they add content via javascript-related buttons) then the footer stays in it’s original place and does not move down. This is the setup and css:

<div id=”container_div”>
<div id=”content_div”></div>
<div id=”footer”></div>
</div>

#container_div {
position: relative;
min-height: 100%;
width:960px;
margin:auto;
background:#FFF;
border-left:3px #CCC solid;
border-right:3px #CCC solid;
}
#content_div {
padding-bottom:50px;
width:100%;
clear: both;
}
#footer {
width:960px;
height:40px;
position:absolute;
bottom:0px;
margin:auto;
padding-top:10px;
}

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @phpmike spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...