[eluser]Nick Husher[/eluser]
Additionally, the "$this->file()" approach prints the contents of the stylesheet into a <style></style> block, which isn't ideal. If you externally link your stylesheets (with a <link/> tag or otherwise) and your server is set up correctly (with Last-Modified or Expires headers), you can significantly reduce your bandwidth needs for a given page because the stylesheet need only be downloaded once and can be used across pages. My only additional suggestion is to set a base href and declare everything relative to that:
Code:
<html>
<head>
<base href="<?=site_url() ?>" />
<link rel="stylesheet" type="text/css" media="all" href="assets/css/style.css" />
...
This way your server's base path could be "www.example.com" while your CodeIgniter base path (defined in config.php) can be something different, such as "www.example.com/my_CI_app/test" while still allowing you to use the same header template in all your views.