Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Multiple Includes


2 replies to this topic

#1 karlosantana

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Wales(But I'm not a welsh farmer!)

Posted 24 May 2011 - 11:12 PM

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

#2 karlosantana

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Wales(But I'm not a welsh farmer!)

Posted 29 May 2011 - 01:40 PM

Anybody? Still Stuck!

#3 karlosantana

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Wales(But I'm not a welsh farmer!)

Posted 29 May 2011 - 09:40 PM

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




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users