HOME       >>       Websites and Web Designing

Multiple Includes Including 2 PHP files


karlosantana

Hello all,

once again I'm stuck. I'm designing a website again where a page (index.php) will use 2 PHP include files they are:

Header.php

Footer.php

Now whats happening is instead of footer.php being at the bottom of index.phpit's appearing top of the screen but at the bottom of header.php if that makes sense. I have quoted part of the CSS sheet below which I think is the problem. These are bothe included in the <head></head> section of index.php Please help me!

.footer{ position:absolute; width:100%; height:100px; background-image:url('images/foot.png'); bottom: 0px;}
Thanks in advance

Kyle


karlosantana

Anybody? Still Stuck!


karlosantana

Sorted! Changed the page container to minimum height of 100%, set footer value to relative....Sorted it!



VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.