title: codeigniter and adding stylesheets
body: <p>I add a stylesheet to codeigniter:</p>
  
  <pre><code>&lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;Site Administrator&lt;/title&gt;
      &lt;link rel="stylesheet" href="../../css/administrator.css" type="text/css" &gt;&lt;/link&gt;
  
  &lt;/head&gt;
  </code></pre>
  
  <p>But the rules arent added. I go two directories up and go to the css.. The direction of the href is right.. I used the autocomplete feature in netbeans.. But why no rules are added to the page? is it codeigniters problem?</p>
  
  <p>My rules in the stylesheet:</p>
  
  <pre><code>        #container
          {
             margin: 0px auto;
             width:50%;
             background-color: #99BC99;
          }
  
          #container:first-child
          {
             text-align: center;
          }
  
          #heading
          {
  
              text-align: right;
  
          }
          h2
          {
              float:right;
              margin-right: 130px;
          }
          a
          {
              text-decoration: none;
          }
  </code></pre>
  
  <p>My html:</p>
  
  <pre><code>&lt;div id="container"&gt;
  &lt;h1&gt;ממשק מנהל&lt;/h1&gt;
  &lt;div id="heading"&gt;
  
        &lt;h2&gt;  
          &lt;?php echo anchor('news/local/123', 'צור נושא', 'title="News title"'); ?&gt;
              &lt;/h2&gt;
          &lt;h2&gt;  
              &lt;?php echo anchor('news/local/123', 'הוסף אמייל', 'title="News title"'); ?&gt;
          &lt;/h2&gt;
          &lt;h2&gt;  
              &lt;?php echo anchor('news/local/123', 'שנה שם וסיסמה', 'title="News title"'); ?&gt;
          &lt;/h2&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>This is what it gives me:</p>
  
  <pre><code>This is what it gives me:  &lt;link rel="stylesheet" href="http://localhost/finance_site/index.php/css/administrator.css" /&gt;
  </code></pre>
  
  <p>Whenever, I do this:</p>
  
  <pre><code>  &lt;link rel="stylesheet" href="&lt;?=site_url('css/administrator.css');?&gt;" /&gt; 
  </code></pre>
  
  <p>Alright, I got it, it is like this:</p>
  
  <pre><code>   &lt;link rel="stylesheet" href="http://localhost/finance_site/css/administrator.css" /&gt; 
  </code></pre>
  
  <p>Is there a way to re-write it so it will be a relative link to code igniter...or at least more portable?</p>