Help - Search - Members - Calendar
Full Version: Footers/Footnotes
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
ruka
Ok, so I've been trying to figure this out for some time. How would one make something stay at the bottom of the page, in a website, no matter how much content is added above it [how long the page gets/lengths changing]?

Like a footer image or something.

An example of what I mean: The copywrite/links at the bottom of myspace profiles, and other such websites.

laugh.gif Help would be appreciated!
1angel3
try this
QUOTE
#footer {
clear: both;
}



Then put this in your webpage

QUOTE
<div id="footer"> </div>

</div>
blah blah blah. Whatever whatever
</div>
</body>
</html>



Thats the code I use and it works for me. But really it depends on how you code your layout.
ruka
_smile.gif Thank you. It didn't work for me .___. But thank you for trying to help. I'll try to work off that code, but incase it doesn't work, I'd still like ideas biggrin.gif
1angel3
You welcome, I didn't think it was going to work but it's worth a try. Can I see your code? it will make it easier for people to help you better.
ruka
Yeah.

Here's the url of it, which is temporary until I am ready to find a host:

http://nogod.occult-proposal.net/test/

you probably already know this, but to view the code you right-click and click 'view source'... haha.

that image at the bottom with the copywrite and such is what I'm trying to make stay, for now, I just have the image down there in a manner that makes me have to move it every time I add more, so, I set the overflow for the layer that has the most text to scroll, until i figure it out.

newkidontheblock
If You Want To Have The Footer At The Bottom All The Time You Will Need To Use A CSS Layout. You Are Using A HTML Layout So You Will Have To Keep The Footer At The Bottom Of The Code At The Time..

The Markster
Whether or not your site can have a dependent footer (meaning it relies on the content length) all depends on the structure of the layout. Since DIV layouts, like this one, usually use absolute positioning on DIV tags and such, it disables a lot of features from being flexible. So what I would recommend is to use tables. Since you can make the height of table cells to be as flexible as you want, the footer follows accordingly.
Chicago
i think it looks fine as it is now?
1angel3
^ yeah it does
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.