CodeIgniter Forums

Full Version: CSS Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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.

El Forum

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

this also contains the stylesheet.