View Full Version : Need help with footer....

10-18-2004, 09:51 PM
I cannot keep the footer down at the bottom. I have it place outside my container and it should stay at the bottom. It only stays at the bottom on this page: http://www.designhousestudios.info/el_gallery.php

All other pages it floats to the top inside the container: http://www.designhousestudios.info

Does anyone have any suggestions?


10-18-2004, 10:19 PM
give the footer this declaration in CSS:

clear: both;

10-18-2004, 10:55 PM
I've tryed clear: both and it does not work. Any other suggestions of why my footer does this? Doesn't make sense to me...

10-18-2004, 11:17 PM
I'm still looking, this is an odd one!

10-18-2004, 11:23 PM
this helped me...put this line inside the container:

<div style="clear: both;">&nbsp</div>


10-18-2004, 11:24 PM
Shouldn't have to add a worthless html character to get it to work... well, that does tell me it's for sure a CSS issue, not an HTML -- which I knew as it still validates fine.

10-18-2004, 11:46 PM
Got it - I didn't even notice at first. Since you're using Absolute positioning to shift your images and text, you obviously can't do a clear both, absolute takes it out of the flow of the document. So you'll have to change those around a tad, remove it from the top homenav:

#homenav {
height: 150px;
border: 0;
padding: 0;
margin: 45px 0px 0px 76px;

Then your paragraph to:

#under {
width: 316px;
margin: 35px 0 0 444px;

Now you can keep the clear both on the footer and adjust the margins/padding to your hearts content:)

10-19-2004, 12:19 AM
Wow! That was good! I forgot about absolute positioning, what a *****! Works great now! Thanks so much for looking at this.

This forum rocks! Man, I'm happy! :)

10-19-2004, 02:11 AM
heh - glad to help :thumbsup: it's a good lookin' site!