title: drupal_add_css not working
body: <p>I need to use <a href="http://api.drupal.org/api/function/drupal_add_css/6" rel="noreferrer">drupal_add_css</a> to call stylesheets onto single Drupal 6 pages. I don't want to edit the main theme stylesheet as there will be a set of individual pages which all need completely new styles - the main sheet would be massive if i put it all in there.</p>
  
  <p>My solution was to edit the page in PHP editor mode and do this:</p>
  
  <pre><code>&lt;?php 
  drupal_add_css("/styles/file1.css", "theme");
  ?&gt;
  
  &lt;div id="newPageContent"&gt;stuff here in html&lt;/div&gt;
  </code></pre>
  
  <p>But when I view source, there is nothing there! Not even a broken CSS link or anything, it's just refusing to add the CSS sheet to the CSS package put into the page head.</p>
  
  <p>Variations don't seem to work either:</p>
  
  <pre><code>drupal_add_css($path = '/styles/file1.css', $type = 'module', $media = 'all', $preprocess = TRUE)
  </code></pre>
  
  <p>My template header looks like this, I've not changed anything from the default other than adding a custom JavaScript.</p>
  
  <pre><code>&lt;head&gt;
      &lt;?php print $head ?&gt;
      &lt;title&gt;&lt;?php print $head_title ?&gt;&lt;/title&gt;
      &lt;?php print $styles ?&gt;
      &lt;?php print $scripts ?&gt;
      &lt;script type="text/javascript" src="&lt;?php print base_path() ?&gt;misc/askme.js"&gt;&lt;/script&gt;    
      &lt;!--[if lt IE 7]&gt;
        &lt;?php print phptemplate_get_ie_styles(); ?&gt;
      &lt;![endif]--&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>Why is this function not working?</p>