Hi, i have just recently started to revamp my current site where the old version was not graphically good.
The new version i believe is quite good as i have spent quite some time designing it properly.
I starting coding last night and as the site will be php based i started with making the single php files header.php content.php footer.php and setting up the CSS.
As you can clearly see there is a definite header , content and footer section.
What i honestly dont get atm is in my CSS for the header i have defined the background image as the top slice of the design (the header).
I have also then defined the body in the CSS without the images and the background-color and using a div region with a border basically.
Now when i get to the footer i have done the same thing as the header i have set it as a background image both of which use height:100% and width:100%
The problem occurs when i combine them in my index.php the code is like this:
<?php
include_once('header.php');
include_once('content.php');
include_once('footer.php');
?>
yet when i load the page it displays the footer over the top of the header.
if i remove the footer include it will display the header and content perfectly fine.
Any ideas?
The new version i believe is quite good as i have spent quite some time designing it properly.
I starting coding last night and as the site will be php based i started with making the single php files header.php content.php footer.php and setting up the CSS.

As you can clearly see there is a definite header , content and footer section.
What i honestly dont get atm is in my CSS for the header i have defined the background image as the top slice of the design (the header).
I have also then defined the body in the CSS without the images and the background-color and using a div region with a border basically.
Now when i get to the footer i have done the same thing as the header i have set it as a background image both of which use height:100% and width:100%
The problem occurs when i combine them in my index.php the code is like this:
<?php
include_once('header.php');
include_once('content.php');
include_once('footer.php');
?>
yet when i load the page it displays the footer over the top of the header.
if i remove the footer include it will display the header and content perfectly fine.
Any ideas?