Hello,
My name is Rui, I'm from Portugal and I'm learning php code, I start to build my first php site, and I have this problem,
In my home page (index.php) I have a gap in the top margin (see the attach image), just in Google Chrome, I've tried almost everything, and is the only browser that I have this problem. Next see the code for the header, index and css. I want to my site start from the edge of the monitor.
index.php:
<?php include('header.php'); ?>
header.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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Romã Extreme Care</title>
<meta name="author" content="Rui Matias" />
<meta name="description" content="XXX" />
<meta name="language" lang="pt" content="Portuguese" />
<meta name="keywords" lang="pt" content="XXX" />
<meta name="copyright" content="Romã Extreme Care" />
<link rel="shortcut icon" href="imagens/ico.png" />
<link rel="stylesheet" href="scripts/main.css" type="text/css" media="screen" />
</head>
<body>
<div id="header"></div><!--HEADER-->
</body>
</html>
css:
body {
margin: 0px;
padding: 0px;
}
#header {
width: 900px;
height: 200px;
margin: 0;
padding: 0;
background-color: #000;
display: block;
}
Thanks in advance


