title: Adding a stylesheet in a layout template
body: <p>I want to add a stylesheet file only in one specific layout template. I'm trying to do it like this:</p>
  
  <pre><code>&lt;!-- empty.php --&gt;
  &lt;?php use_stylesheet("style.css") ?&gt;
  </code></pre>
  
  <p>Which is a way described in the <em>Practical Symfony</em> book. However, it does not work. The html comes out unchanged. I tried a different approach by adding the stylesheet in my action:</p>
  
  <pre><code>// actions.class.php
  $response = $this-&gt;getResponse();
  $response-&gt;addStyleSheet("style.css");
  </code></pre>
  
  <p>It does not work too. No errors and I don't know how can I debug it.</p>
  
  <p>Some googling pointed me to <a href="http://oldforum.symfony-project.org/index.php/m/87535/" rel="nofollow">this topic</a>. It seems that this issue should have been fixed but I'm still having it so maybe it's a problem with my project. Has anyone had this kind of problem?</p>