CodeIgniter Forums
CSS Question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CSS Question (/showthread.php?tid=11194)



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.