change css in php

Solutions on MaxInterview for change css in php by the best coders in the world

showing results for - "change css in php"
Carla
13 Feb 2017
1
2Rename your style.css file to style.php, then add the following to the top of the file:
3
4<?php header("Content-type: text/css"); ?>
5This line tells the browser that the file is CSS instead of HTML. 
6In your HTML files, change the stylesheet references from style.css to style.php. For example:
7
8<link rel="stylesheet" type="text/css"
9 media="screen" href="style.php">