tags:

views:

98

answers:

1

I mention it in httpd.conf as follows to let you interpret css as php

<FilesMatch "\.css$">
   ForceType application/x-httpd-php
</FilesMatch

Content-Type is output as text/html and is troubled. Therefore I added the next cord to the top of the css file.

<?php header("Content-Type: text/css"); ?>

It's not cool... Do you know how to output text/css ?

A: 

Are you sure you do not output anything before sending the header, no whitespace character et al.?

Residuum