2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by davy_yg
0

How about you just place the footer in it's own container below the rest of the content? It'll move down as your page height changes.

If you have a specifis footer that is inside content, place it into a relative container. The conteiner will move down, the footer will stay.

0

What do you mean by placing the footer in it's own container? How is it differ from the code that I writes above?

<link href="../style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>

    <div id="footer">
      <p class="style1">footer</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
    </div>

That's my footer.php codes. I already set a relative position in my style.css for #footer. Yet, on a couple pages my footer overlap the page content (not footer content). I am creating a CMS website. I am placing the same footer for my whole website pages, that's why I am using an include function.

Is there any way to make when the page content are too long, the footer automatically move downward ?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.