View Full Version : footer issue

09-15-2011, 05:46 PM

I am back with another issue, hoping to get this one solved as quickly as previous...

Trying to get my footer div to sit at the bottom of the page, or more precisely sit immediately after the end of the main content div?

The footer will be fixed depth.
The main/main_content divs will have fluid depth.


Many thanks in advance

09-15-2011, 05:54 PM
The height of main_content is hard set at 330px. Change it to min-height.

09-15-2011, 06:22 PM
if you are trying to make a "sticky footer" which it sounds like you are... put the footer outside the content wrapper and give the wrapper a negative margin-bottom the size of the footer (one way to do it)

<div id="wrapper">
<div id="header"></div>
<div id="sidepane"></div>
<div id="main"></div>
<div id="footer"></div>


09-15-2011, 07:30 PM
Thanks but I think there is something else missing as the footer has remained in the same place

09-16-2011, 04:32 AM
I do not see why it is not working... it should... in your style you omit type="text/css" idk if that is causing issue or not (not likely bc it is showing up on chrome inspect element... anyways it should have worked unless my brain is fried and i am missing something blatant... regardless you can do a different sticky footer... get rid of the margin crap I had you put in... then add this to your footer


09-16-2011, 09:45 AM
Thanks I think that has fixed it :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum