As5a5sIn5
07-26-2006, 11:10 PM
Okay, let me explain the situation.
I have a XHTML Document. It has a .HTML extension. The .HTML are forced into being .PHP files (PHP files disguised with .HTML). Now the problem is the CSS will not work. Here is the code. Anyone see what I'm doing wrong?
<xhtml1.html>
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Title</title>
<link href="vers1.css" rel="stylesheet" type="text/css" title="Version_1" />
</head>
<body>
This is a basic template for a website.
<div id="header">Let us see.</div>
</body>
</html>
<vers1.css>
body {margin: 0px; padding: 0px; background: #000000; color: #C0C0C0;}
#head{margin: 0px; padding: 0px; color: #0000FF;}
#body{margin: 0px; padding: 0px;}
:(
I have a XHTML Document. It has a .HTML extension. The .HTML are forced into being .PHP files (PHP files disguised with .HTML). Now the problem is the CSS will not work. Here is the code. Anyone see what I'm doing wrong?
<xhtml1.html>
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Title</title>
<link href="vers1.css" rel="stylesheet" type="text/css" title="Version_1" />
</head>
<body>
This is a basic template for a website.
<div id="header">Let us see.</div>
</body>
</html>
<vers1.css>
body {margin: 0px; padding: 0px; background: #000000; color: #C0C0C0;}
#head{margin: 0px; padding: 0px; color: #0000FF;}
#body{margin: 0px; padding: 0px;}
:(