I have a little problem. I have header.php and footer.php files which I include in every page. In the header.php I have the <head>
tag with the scripts/styles and a div which is the top bar. In the footer.php I have closing tags.
<?php include('header.php'); ?>
<div class="content">
<!-- CONTENT -->
</div>
<?php include('footer.php'); ?>
The problem is when I structure a page like the code above, my code is messed up, here is a picture http://img13.imageshack.us/img13/9640/92571581.jpg As you can see, the whole head seaction goes inside body. If I copy paste the code from header.php and footer.php without including, everything works as it should, picture here http://img833.imageshack.us/img833/2603/98557724.jpg
What is the problem ? Every tag is opened and closed in the right place.
Thank you