[eluser]Kenneth Allen[/eluser]
I have a relatively simple page that refuses to use the specified CSS! I am developing on a Mac, and I have tested with Safari and Firefox and I get the same results. I finally chased the issue down to an entry in the Safari error console that I placed in the title for this entry.
The template file I am rendering looks like this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php echo $page_title; ?></title>
<?php echo link_tag('Assets/SMaLL.css')."\n"; ?>
</head>
<body>
<div>
<?php echo $content . "\n"; ?>
</div>
<div>
<p><br />Page rendered in {elapsed_time} seconds</p>
</div>
</body>
</html>
and the rendered page contains this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>SMaLL Administration</title>
<link href="http://d2.test/SMaLL/Assets/SMaLL.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<h1>SMaLL Administration</h1>
</div>
<div>
<p><br />Page rendered in 0.1011 seconds</p>
</div>
</body>
</html>
And the file ~/Sites/D2TestSite/SMaLL/Assets/SMaLL.css does exist.
I have tried several things but I cannot see an error that would be causing this. Does anyone know what I need to do to resolve this?