Ok now for a css/html related question;
I have this in a php file:
and this in my css file:
but the container div is not lining up in the center of the page, everything else is right, but it doesnt sit in the center.
Thanks again guys, you knowledge is a valuable resource to me
I have this in a php file:
Code:
<?php
echo '
<html>
<head>
<title>Darrens Test</title>
<link href="test.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="container" align="center">
';
include("header.php");
include("leftnav.php");
include("body.php");
include("footer.php");
echo ' </div>
</body>
</html>
';
?>
and this in my css file:
Code:
body {
font : 11px Verdana;
color : #FFFFFF;
background-color : #2c2b2b;
}
div#container {
background-color : #FF0000;
align : center;
width : 800px;
height : 600px;
margin : 0;
padding : 0;
}
but the container div is not lining up in the center of the page, everything else is right, but it doesnt sit in the center.
Thanks again guys, you knowledge is a valuable resource to me
