I'm creating a page with some includes ( top and footer ) and where I put these includes appears a huge space with a strange code (% code) (the code does not appear on the page, only in the browser element inspector):
Look at the image above that appears between 
and <main>
, for example. The same thing happens everywhere I put include.
I'm doing it this way:
<body>
<?php
include 'aa_topo.php';
?>
<main>
<!-- conteúdo HTML -->
</main>
<?php
include 'aa_footer.php';
?>
</body>
</html>
In the source code of the page everything is normal, nothing strange appears, but where includes is creating a vertical spacing of 50px between one element and another (between <footer>
and body
and between main
and main
).
If I put the includes tags right on the page, everything will be fine.
What is causing this and how can I resolve it?
I'm using a temporary server with PHP 5.2.17 and DreamWeaver CC 2015.