title: How to use PHP inside css file
body: <p>I have CSS file and I want to refer some image paths in that files in PHP varaible format. Then I refer that css file inside a html file. Following are my file</p>
  
  <p>CSS file</p>
  
  <pre><code>&lt;? header ("Content-type: text/css");?&gt;
   body{ margin:0px; font:9px/11px "Tahoma", Arial, Helvetica, sans-serif; color:#010000; 
   background:#f3f6e1 url(&lt;?php echo base_url().'public/';?&gt;images/body_bg_1.gif) repeat-x 0 0}
  </code></pre>
  
  <p>HTML file</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;link rel="stylesheet" href="css/layout.css" media="screen"&gt; 
  &lt;/head&gt;
  </code></pre>
  
  <p>Other things. Can you explain me how to do this ?</p>