Is this possible? I can't find an example of this on the internet anywhere. I am struggling with what should be really simple CSS code. Can anyone tell me what is wrong with this code? The .css wont load into the page even though I think I have configured it correctly. All 3 files are in the root of the web directory.
<head><title>main.php</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<body>
<?php include("header.php");?>
</body>
</html>
And my .css file is:
div#header{
position:absolute;
top:0;
left:0;
width:100%;
height:header-<length>;
background-color:yellow;
}
My header.php is:
<?php echo "<div>";
print "header.php";
echo "</div>"; ?>