title: adding custom css to a custom module
body: <p>I have created a custom module that I would like to add custom css styles to. I have done some research and found that the right way is to add the css to the correct folder and then use the layout.xml to add it.</p>
  
  <p>My problem is that when I add the css I am returned with an error message:</p>
  
  <pre><code>Invalid method Namespace_Module_Block_Blockname::addCss(Array([0] =&gt; css/mystyle.css))
  </code></pre>
  
  <p>currently mystyle.css is in </p>
  
  <pre><code>skin/frontend/base/default/css/mystyle.css 
  </code></pre>
  
  <p>I did try to add it to</p>
  
  <pre><code>Namespace/Module/css/mystyle.css but without success
  </code></pre>
  
  <p>My layout file is set out as follows</p>
  
  <pre><code>    &lt;handle&gt;
          &lt;block type="modulename/block" name="reference_name" output="toHtml" template="Namespace/Module/filename.phtml" &gt;  
              &lt;action method="addCss"&gt;&lt;stylesheeet&gt;css/mystyle.css&lt;/stylesheeet&gt;&lt;/action&gt;      
              &lt;block type="modulename/block" name="reference_name" output="toHtml" template="Namespace/Module/filename.phtml" /&gt;
          &lt;/block&gt;
      &lt;/handle&gt;
  </code></pre>
  
  <p>After reading designing_for_magento, I also tried wrapping it in a default handle, that produced a blank screen.</p>
  
  <p>No errors were received prior to adding this command, what have I done wrong?</p>
  
  <p>===EDIT===</p>
  
  <p>I have now tried (in the  node I have also tried placing )</p>
  
  <pre><code>&lt;user_preferences&gt;
      &lt;reference name="head"&gt;
          &lt;action method="addCss"&gt;&lt;link&gt;css/normalize.css&lt;/link&gt;&lt;/action&gt;       
          &lt;block type="prefcentre/returnuser" name="prefcentre_returnuser" output="toHtml" template="ps/prefcentre/returnuser.phtml" &gt;  
              &lt;block type="prefcentre/preferences" name="prefcentre_options" output="toHtml" template="ps/prefcentre/preferences.phtml" /&gt;
          &lt;/block&gt;
      &lt;/reference&gt;   
  &lt;/user_preferences&gt;
  </code></pre>
  
  <p>the file has been in the previously mentioned place and</p>
  
  <pre><code>skin/frontend/default/module/css/mystyle.css 
  </code></pre>
  
  <p>But that has not worked either</p>