So, I have the simplest page. Just one div, but I can't get rid of the white gap at the top. I have tried Chrome and IE, same result on both.
HTML:
<?php
session_start();
include "./script/db-connect.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no">
<head>
<title>Test</title>
<link rel="stylesheet" type="text/css" href="./css/main.css" />
</head>
<body>
<div id="top_bar">
</div>
</body>
</html>
CSS:
* {
margin: 0;
padding: 0;
border: none;
}
#top_bar{
width: 100%;
height: 70px;
background-color: #00ff00;
}
EDIT: So, I found it it's the php part which is outputing  in body. The gap dissapears when I remove the php-script. So, question is, how do I fix it?
PHP:
<?php
$host="localhost";
$user="member";
$pw="";
$db="db";
$link=mysqli_connect($host, $user, $pw, $db) or die("error");
?>