title: How do I load css files with a view in CodeIgniter?
body: <p>I am currently trying to load a css file into a CodeIgniter view in the follow manner:</p>
  
  <pre><code>&lt;link rel="stylesheet" href="&lt;?php echo base_url(); ?&gt;css/style.css"&gt;
  </code></pre>
  
  <p>A blank page is loaded. It seems that when I call the base_url function in the view the page doesn't load because the same thing happens when I call base_url() else where in the view but the page actually loads without css when I remove the calls to that function. Is there something that I need to require in order for the page to load?</p>