Como usar o PHP dentro do arquivo css [duplicado]

Esta pergunta já tem uma resposta aqui:

Como executo o PHP dentro do CSS 2 respostas

Eu tenho um arquivo CSS e quero referenciar alguns caminhos de imagem nesses arquivos no formato PHP variável. Então eu refiro esse arquivo css dentro de um arquivo html. A seguir está o meu arquivo

Arquivo CSS

<? header ("Content-type: text/css");?>
 body{ margin:0px; font:9px/11px "Tahoma", Arial, Helvetica, sans-serif; color:#010000; 
 background:#f3f6e1 url(<?php echo base_url().'public/';?>images/body_bg_1.gif) repeat-x 0 0}

Arquivo HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="css/layout.css" media="screen"> 
</head>

Outras coisas. Você pode me explicar como fazer isso?

questionAnswers(4)

yourAnswerToTheQuestion