The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Unable to see footer Reply To: Unable to see footer

Sticky Footer

My point is you’re strying to style an ID (#footer) and your HTML does not contain that ID

<div id="footer">
Sticky Footer

What I have realised with footers is that it’s best to set them out at the very beginning of your Web page project!

Not at all….they should be (ideally) at the end of your HTML. Just imagine as (as does happen) your CSS or JS does not load.

Your footer would be at the top of the page.

Use the proper source order wherever possible and then style it with CSS. This can involve visually moving things around the page with CSS or JS…but the source order is important!.