...

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



123dhs321
10-18-2004, 08: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?

Thanks,
Ryan

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


clear: both;

123dhs321
10-18-2004, 09: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...

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

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

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

regards,
steve

bradyj
10-18-2004, 10: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.

bradyj
10-18-2004, 10: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;
padding:0;
}


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

123dhs321
10-18-2004, 11:19 PM
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! :)

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum