I have a website with a white space problem. I am including a few files before the doctype and this is causing a white space to be outputted.
After searching I have
You don't have to remove the ?>. Just the whitespace after it. Your code should look like this:
?>
....