I am having a similar problem Here is my PHP source that should be building the appropriate html to reference the stylesheet.
echo"<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">";
echo "<LINK rel=stylesheet href=\"pyne.css\" type=\"text/css\"><title>Add New Document</title></head><body>";
This is the resultant html bit that comes back and should be executing.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK rel=stylesheet href="pyne.css" type="text/css">
<title>Add New Document</title>
</head>
<body>
For some reason this does absolutely nothing with the page at all. Any ideas-I can use the style on the page but that kind of defeats the purpose of a stylesheet does it not../