加纳夫钉牢了它。
我做:
<link rel="stylesheet" type="text/css" media="screen" href="<? echo TMPL ?>css/name-of-file.css.php">
然后在您的.css.php文件顶部:
<?header('Content-Type: text/css');// print out your php-driven css...?>
加纳夫钉牢了它。
我做:
<link rel="stylesheet" type="text/css" media="screen" href="<? echo TMPL ?>css/name-of-file.css.php">
然后在您的.css.php文件顶部:
<?header('Content-Type: text/css');// print out your php-driven css...?>