CodeIgniter Forums
CSS Question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: CSS Question (/thread-11194.html)



CSS Question - El Forum - 08-29-2008

[eluser]NateL[/eluser]
Do you create a view for Headers and then bring that view into other views? I ask because I am creating an app that will use the same stylesheet through out the whole site, and it makes no sense to call in the same stylesheet for every page.


CSS Question - El Forum - 08-29-2008

[eluser]Thorpe Obazee[/eluser]
I usually do this from the view
Code:
<?php $this->load->view('index/header'); ?>

this also contains the stylesheet.