I have seen a lot of people have been having a similar problem to this, but I have not found a solution and so daniweb is the best place to go!
Basically, whenever I use:
<?php include_once "Filename.php"; ?>
which I often do for the header, navigation and footer of a website it works fine. But when I upload the website, these sections have a margin-top of around 24px; I can simply fix the problem by adding -24px to the css to counteract the problem, however, this makes content appear in the wrong place when testing it offline.
Can anyone shed some light on this problem?